nginx-envsubst/Dockerfile

11 lines
238 B
Docker
Raw Normal View History

2021-02-05 15:13:20 +01:00
FROM alpine:latest
2022-03-07 17:58:18 +01:00
RUN apk add --upgrade --no-cache nginx gettext inotify-tools \
&& mv /etc/nginx /etc/nginx.tmpl \
&& touch /etc/envsubst.conf
2021-02-05 15:13:20 +01:00
COPY start-nginx.sh /usr/local/bin/
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["start-nginx.sh"]