Skip to content

Commit

Permalink
nginx -> busybox
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Nov 28, 2023
1 parent 20349f2 commit 6809b4b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM nginx:alpine
EXPOSE 80
COPY /dist /usr/share/nginx/html
FROM busybox:musl

RUN adduser -D static
USER static
WORKDIR /home/static

COPY /dist .
EXPOSE 3000
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]

0 comments on commit 6809b4b

Please sign in to comment.