Files
2026-09-11 14:01:52 +03:30

9 lines
370 B
Docker

ARG NGINX_IMAGE=nginx:1.27-alpine
FROM ${NGINX_IMAGE}
# The official Nginx entrypoint renders templates into /etc/nginx/conf.d.
# Baking the template into the image avoids stale or missing host bind mounts
# in Git-based Coolify deployments while preserving env substitution for
# MEDIA_SIGNING_SECRET.
COPY docker/nginx.conf /etc/nginx/templates/default.conf.template