nginx-envsubst/Dockerfile
2022-03-07 17:58:18 +01:00

10 lines
238 B
Docker

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