2022-03-09 17:06:31 +01:00
|
|
|
FROM nginx:alpine
|
2021-02-05 15:13:20 +01:00
|
|
|
|
2022-03-09 17:06:31 +01:00
|
|
|
RUN apk add --upgrade --no-cache gettext inotify-tools
|
2022-03-09 16:53:28 +01:00
|
|
|
RUN mv /etc/nginx /etc/nginx.tmpl
|
|
|
|
RUN 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"]
|