wand/web/Dockerfile

7 lines
393 B
Docker
Raw Permalink Normal View History

2020-05-07 02:52:29 +00:00
FROM nginx:1.17.10-alpine
ENV DOCKERIZE_VERSION v0.7.0
RUN ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz