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 9146c02 commit 0947d39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:latest

RUN apk add openrc

RUN apk add nginx

RUN mkdir -p /run/nginx
Expand All @@ -18,4 +20,4 @@ COPY nginx/default.conf.template /etc/nginx/templates/default.conf.template

EXPOSE 80

RUN ["./usr/sbin/nginx"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 0947d39

Please sign in to comment.