build(deployment): use sibling repos as docker build context
This commit is contained in:
@@ -1 +1 @@
|
||||
VITE_API_BASE_URL=http://localhost/api
|
||||
VITE_API_BASE_URL=http://localhost/api
|
||||
|
||||
@@ -4,11 +4,11 @@ WORKDIR /app
|
||||
|
||||
RUN npm config set registry https://package-mirror.liara.ir/repository/npm/ --global
|
||||
|
||||
COPY qlockify-frontend/package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY qlockify-frontend/ .
|
||||
RUN npm run build
|
||||
COPY qlockify-frontend/package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY qlockify-frontend/ .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user