Skip to content

Commit

Permalink
Experimenting with Alpine as the final image for running the built Bu…
Browse files Browse the repository at this point in the history
…n app.
  • Loading branch information
rudimk committed Nov 26, 2024
1 parent e9bd407 commit 5de026c
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 @@ -27,10 +27,11 @@ RUN bun test
RUN bun run build

# copy production app into the final image
FROM ubuntu:24.04
# FROM ubuntu:24.04
FROM alpine:latest
WORKDIR /app
COPY --from=prerelease /usr/src/app/app .

# run the app
EXPOSE 3000/tcp
ENTRYPOINT [ "./app" ]
ENTRYPOINT [ "./app" ]

0 comments on commit 5de026c

Please sign in to comment.