2021-02-05 15:13:20 +01:00
|
|
|
FROM alpine:latest
|
2021-02-05 15:39:43 +01:00
|
|
|
LABEL homepage=https://git.redxef.duckdns.org/
|
2021-02-05 15:13:20 +01:00
|
|
|
|
|
|
|
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"]
|