nginx-envsubst/nginx.Dockerfile

13 lines
254 B
Text
Raw Normal View History

2021-02-05 15:13:20 +01:00
# 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"]