diff --git a/bun.lockb b/bun.lockb index 2e6a5ba..3805a35 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/website/Dockerfile b/website/Dockerfile index eca0b2e..0f424bf 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -9,13 +9,13 @@ WORKDIR /usr/src/app # this will cache them and speed up future builds FROM base AS install RUN mkdir -p /temp/dev -COPY package.json bun.lockb /temp/dev/ -RUN cd /temp/dev && bun install --frozen-lockfile +COPY package.json /temp/dev/ +RUN cd /temp/dev && bun install # install with --production (exclude devDependencies) RUN mkdir -p /temp/prod -COPY package.json bun.lockb /temp/prod/ -RUN cd /temp/prod && bun install --frozen-lockfile --production +COPY package.json /temp/prod/ +RUN cd /temp/prod && bun install --production # copy node_modules from temp directory # then copy all (non-ignored) project files into the image