From f297cb6c9961c5ea7e16819b61790f647ad0ec27 Mon Sep 17 00:00:00 2001 From: SchulzeStTSI <67590336+SchulzeStTSI@users.noreply.github.com> Date: Wed, 8 Sep 2021 11:07:53 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3c2644..689c8e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,2 @@ -FROM alpine:latest - -RUN apk add nginx - -RUN mkdir -p /run/nginx - -RUN touch /run/nginx/nginx.pid - -RUN adduser -D -g 'www' www - -RUN mkdir /www - -RUN chown -R www:www /var/lib/nginx - -RUN chown -R www:www /www - +FROM nginx:1.19.10 COPY nginx/default.conf.template /etc/nginx/templates/default.conf.template - -RUN ["./usr/sbin/nginx"]