Files

12 lines
317 B
Docker
Raw Permalink Normal View History

2026-03-26 16:10:45 +01:00
FROM node:20-alpine AS build
WORKDIR /app
COPY apps/frontend/package*.json ./
RUN npm install
COPY apps/frontend .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist/*/browser /usr/share/nginx/html
COPY apps/frontend/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]