Merge pull request #8 from 87594589-7087-4f7c-b204-e84312ae374c/patch-1

Remove need of NGINX and root
This commit is contained in:
Jeroen 2020-08-07 03:14:44 +02:00 committed by GitHub
commit 10ebd1f9e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,11 @@
FROM nginx:alpine
FROM busybox
LABEL maintainer="Jeroen Pardon"
RUN apk add nano
WORKDIR /opt/html
RUN rm -rf /usr/share/nginx/html
COPY . /usr/share/nginx/html
COPY . /opt/html
EXPOSE 80
ENTRYPOINT [ "httpd", "-f", "-v", "-u", "1000" ]