diff options
| author | Jeroen <jeroenpardon@users.noreply.github.com> | 2020-08-07 03:14:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 03:14:44 +0200 |
| commit | 10ebd1f9e8876c8617b63e2a2ffcc509626d0029 (patch) | |
| tree | a50cc44b33a33c9fd7b2ccbabdd0461daa648592 /Dockerfile | |
| parent | 42971a3cae06eed7a67f893930578c675c615a15 (diff) | |
| parent | d97b628b3c26ab3ca40f27e7ff914760187795b5 (diff) | |
Merge pull request #8 from 87594589-7087-4f7c-b204-e84312ae374c/patch-1
Remove need of NGINX and root
Diffstat (limited to 'Dockerfile')
| -rwxr-xr-x | Dockerfile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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
\ No newline at end of file +ENTRYPOINT [ "httpd", "-f", "-v", "-u", "1000" ] |