2026-06-10 08:02:39 +00:00
|
|
|
# Production image. Build static assets on the host first:
|
|
|
|
|
# ./scripts/build_frontend_dist.sh
|
|
|
|
|
FROM nginx:stable-alpine
|
2025-08-05 07:08:07 +00:00
|
|
|
|
2026-06-10 08:02:39 +00:00
|
|
|
COPY dist /usr/share/nginx/html
|
2025-08-05 07:08:07 +00:00
|
|
|
|
2025-12-30 03:08:05 +00:00
|
|
|
COPY nginx.conf /etc/nginx/templates/default.conf.template
|
|
|
|
|
|
2026-01-05 02:45:54 +00:00
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
|
|
2025-12-30 03:08:05 +00:00
|
|
|
ENV MAX_FILE_SIZE_MB=50
|
2025-08-05 07:08:07 +00:00
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
2026-06-10 08:02:39 +00:00
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|