From 981e1d1ce23f8b18fae5e9fda28a1c44c4a78440 Mon Sep 17 00:00:00 2001 From: Kieran Klukas <92754843+kcoderhtml@users.noreply.github.com> Date: Tue, 25 Jun 2024 18:08:17 -0400 Subject: [PATCH] bug: fix docker file not copying build artifact --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3089880..3c76f21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,9 @@ RUN cd /temp/prod && bun install --frozen-lockfile --production && bun run build # copy production build to release image FROM base AS release -COPY --from=build /temp/emojibot-prod/ . +COPY --from=build /temp/emojibot-prod/dist/emojibot . RUN chown -R bun:bun . +RUN mkdir tmp && chown -R bun:bun tmp # run the app USER bun