Skip to content

Commit

Permalink
busybox frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Nov 28, 2023
1 parent 96524e5 commit bdec693
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ COPY --from=dependencies /app/node_modules ./node_modules
RUN pnpm run build
RUN pnpm prune --prod

FROM base AS deploy
FROM busybox:musl AS deploy

WORKDIR /app/
COPY package.json pnpm-lock.yaml ./
COPY --from=build /app/dist ./dist
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/dist .

CMD ["pnpm", "start"]
CMD ["busybox", "httpd", "-f", "-v", "-p", "3001"]

0 comments on commit bdec693

Please sign in to comment.