build(deployment): use sibling repos as docker build context

This commit is contained in:
2026-04-23 19:50:44 +03:30
parent ed47645fef
commit 3b052aeca4
7 changed files with 81 additions and 46 deletions

View File

@@ -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