We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a55b0 commit 2aa80c0Copy full SHA for 2aa80c0
bun.lockb
1.27 KB
website/Dockerfile
@@ -9,13 +9,13 @@ WORKDIR /usr/src/app
9
# this will cache them and speed up future builds
10
FROM base AS install
11
RUN mkdir -p /temp/dev
12
-COPY package.json bun.lockb /temp/dev/
13
-RUN cd /temp/dev && bun install --frozen-lockfile
+COPY package.json /temp/dev/
+RUN cd /temp/dev && bun install
14
15
# install with --production (exclude devDependencies)
16
RUN mkdir -p /temp/prod
17
-COPY package.json bun.lockb /temp/prod/
18
-RUN cd /temp/prod && bun install --frozen-lockfile --production
+COPY package.json /temp/prod/
+RUN cd /temp/prod && bun install --production
19
20
# copy node_modules from temp directory
21
# then copy all (non-ignored) project files into the image
0 commit comments