mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 14:06:28 +00:00
19 lines
416 B
Docker
19 lines
416 B
Docker
FROM node:24-trixie-slim AS frontend-build
|
|
|
|
WORKDIR /app/apps/frontend
|
|
|
|
RUN corepack enable
|
|
|
|
COPY apps/frontend/package.json apps/frontend/pnpm-lock.yaml ./
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
COPY apps/frontend/ ./
|
|
RUN pnpm build
|
|
|
|
FROM nginx:1.27-alpine AS runtime
|
|
|
|
COPY deploy/docker/web/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=frontend-build /app/apps/frontend/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|