2026-07-20 20:00:41 +00:00
|
|
|
# Production stage - only needs nginx and built files
|
2026-07-20 17:00:21 +00:00
|
|
|
FROM nginx:alpine
|
|
|
|
|
|
2026-07-20 20:00:41 +00:00
|
|
|
# Copy built files (from CI artifact or local build)
|
|
|
|
|
COPY web/dist /usr/share/nginx/html
|
2026-07-20 17:00:21 +00:00
|
|
|
|
|
|
|
|
# Copy nginx config
|
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|