Skip to content

Commit

Permalink
Merge pull request jeroenpardon#8 from 87594589-7087-4f7c-b204-e84312…
Browse files Browse the repository at this point in the history
…ae374c/patch-1

Remove need of NGINX and root
  • Loading branch information
jeroenpardon authored Aug 7, 2020
2 parents 42971a3 + d97b628 commit 10ebd1f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM nginx:alpine
FROM busybox

LABEL maintainer="Jeroen Pardon"

RUN apk add nano
WORKDIR /opt/html

COPY . /opt/html

RUN rm -rf /usr/share/nginx/html
COPY . /usr/share/nginx/html
EXPOSE 80

EXPOSE 80
ENTRYPOINT [ "httpd", "-f", "-v", "-u", "1000" ]

0 comments on commit 10ebd1f

Please sign in to comment.