Skip to content

Commit

Permalink
fix dockerfile again
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Dec 27, 2023
1 parent a31065d commit 83cd3bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 83cd3bf

Please sign in to comment.