diff --git a/Dockerfile b/Dockerfile index c8006b2..21e0e38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,11 @@ FROM busybox:musl AS deploy EXPOSE 80 +COPY . /data/www +RUN mv /data/www/httpd.conf /data/httpd.conf + RUN adduser -D static USER static WORKDIR /home/static -COPY . /data/www -RUN mv /data/www/httpd.conf /data/httpd.conf CMD ["busybox", "httpd", "-f", "-v", "-p", "80", "-h", "/data/www", "-c", "/data/httpd.conf"]