From 9b90d296bed743170cc6cfe20788910074dcb7a6 Mon Sep 17 00:00:00 2001 From: Till Wittenburg <51444175+kenowi-dev@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:19:41 +0200 Subject: [PATCH] fix: ignore scripts in Dockerfile after bun install (#12) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa1749d..170bcf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]