Explorar el Código

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

Remove need of NGINX and root
Jeroen hace 4 años
padre
commit
10ebd1f9e8
Se han modificado 1 ficheros con 7 adiciones y 5 borrados
  1. 7 5
      Dockerfile

+ 7 - 5
Dockerfile

@@ -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" ]