Skip to content

Commit

Permalink
fix: ignore scripts in Dockerfile after bun install (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenowi-dev authored Sep 12, 2023
1 parent 79c78b9 commit 9b90d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ FROM oven/bun:latest
WORKDIR /app

COPY --from=build /app/build /app/package.json /app/bun.lockb ./
RUN bun install --production
RUN bun install --production --ignore-scripts
# Required by svelte-adapter-bun (for whatever reason)
RUN bun install devalue cookie set-cookie-parser
RUN bun install devalue cookie set-cookie-parser --ignore-scripts

ENTRYPOINT ["bun", "index.js"]

0 comments on commit 9b90d29

Please sign in to comment.