FROM nginx:alpine COPY nginx.conf.template /etc/nginx/templates/nginx.conf.template COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]