nginx-envsubst/Dockerfile
2022-03-09 16:53:28 +01:00

10 lines
236 B
Docker

FROM alpine:latest
RUN apk add --upgrade --no-cache nginx gettext inotify-tools
RUN mv /etc/nginx /etc/nginx.tmpl \
RUN touch /etc/envsubst.conf
COPY start-nginx.sh /usr/local/bin/
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["start-nginx.sh"]