Skip to content

Commit

Permalink
Simpler base container
Browse files Browse the repository at this point in the history
  • Loading branch information
AFCMS committed Mar 6, 2024
1 parent 670f43e commit 8390ab6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ RUN adduser \
--uid "10001" \
"appuser"

RUN mkdir /app
WORKDIR /app

COPY --from=builder /app/FiberReactTest .
COPY --from=builder /app/index.html .
COPY --from=builder /app/FiberReactTest /app/
COPY --from=builder /app/index.html /app/
COPY --from=frontend-builder /frontend/dist /app/frontend/dist

USER appuser:appuser

EXPOSE 8080
CMD ["./FiberReactTest"]
CMD ["/app/FiberReactTest"]

0 comments on commit 8390ab6

Please sign in to comment.