Skip to content

Commit

Permalink
bug: fix docker file not copying build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
kcoderhtml committed Jun 25, 2024
1 parent 2565087 commit 981e1d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 981e1d1

Please sign in to comment.