Merge pull request #8 from 87594589-7087-4f7c-b204-e84312ae374c/patch-1
Remove need of NGINX and root
This commit is contained in:
commit
10ebd1f9e8
1 changed files with 7 additions and 5 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,9 +1,11 @@
|
||||||
FROM nginx:alpine
|
FROM busybox
|
||||||
|
|
||||||
LABEL maintainer="Jeroen Pardon"
|
LABEL maintainer="Jeroen Pardon"
|
||||||
|
|
||||||
RUN apk add nano
|
WORKDIR /opt/html
|
||||||
|
|
||||||
RUN rm -rf /usr/share/nginx/html
|
COPY . /opt/html
|
||||||
COPY . /usr/share/nginx/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
ENTRYPOINT [ "httpd", "-f", "-v", "-u", "1000" ]
|
||||||
|
|
Loading…
Reference in a new issue