nginx-envsubst/Dockerfile

10 lines
232 B
Docker

FROM nginx:alpine-perl
RUN apk add --upgrade --no-cache 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"]