build(deployment): use local backend and frontend build contexts

This commit is contained in:
2026-04-25 17:27:10 +03:30
parent d3f14aeb78
commit 8b6f25e068
4 changed files with 40 additions and 37 deletions

View File

@@ -4,10 +4,10 @@ WORKDIR /app
RUN npm config set registry https://package-mirror.liara.ir/repository/npm/ --global
COPY qlockify-frontend/package*.json ./
COPY package*.json ./
RUN npm install
COPY qlockify-frontend/ .
COPY . .
RUN npm run build
FROM nginx:alpine