nginx-envsubst/nginx.Dockerfile
2021-02-05 15:13:20 +01:00

12 lines
254 B
Docker

# FROM nginx:alpine
FROM alpine:latest
RUN apk update && apk upgrade && apk add nginx gettext && \
rm -r /etc/nginx
COPY start-nginx.sh /usr/local/bin/
COPY environemnt_variables.txt /
USER root
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["start-nginx.sh"]