Files
eve-job-tracker/Dockerfile
2026-01-15 13:57:39 +01:00

17 lines
342 B
Docker

# Build stage - just copy the pre-built dist folder
FROM scratch AS builder
COPY dist /app/dist
# Production stage
FROM nginx:alpine
# Copy custom nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy built assets from builder
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]