Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SchulzeStTSI authored Sep 8, 2021
1 parent 75753e3 commit f297cb6
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit f297cb6

Please sign in to comment.