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/
|
2021-02-05 15:36:45 +01:00
|
|
|
COPY environment_variables.txt /
|
2021-02-05 15:13:20 +01:00
|
|
|
|
|
|
|
USER root
|
|
|
|
ENTRYPOINT ["/bin/sh", "-c"]
|
|
|
|
CMD ["start-nginx.sh"]
|