From 5de026c0fe9158402d1af92bc55ab9f39f545d58 Mon Sep 17 00:00:00 2001 From: Rudi MK Date: Tue, 26 Nov 2024 10:34:42 +0000 Subject: [PATCH] Experimenting with Alpine as the final image for running the built Bun app. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5559855..71dfaf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file +ENTRYPOINT [ "./app" ]