We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 053ae62 commit 40e4e8fCopy full SHA for 40e4e8f
1 file changed
Dockerfile
@@ -8,12 +8,12 @@ WORKDIR /usr/src/app
8
FROM base AS install
9
RUN mkdir -p /temp/dev
10
COPY package.json bun.lockb /temp/dev/
11
-RUN cd /temp/dev && bun install
+RUN cd /temp/dev && bun install --frozen-lockfile
12
13
# install with --production (exclude devDependencies)
14
RUN mkdir -p /temp/prod
15
COPY package.json bun.lockb /temp/prod/
16
-RUN cd /temp/prod && bun install --production
+RUN cd /temp/prod && bun install --production --frozen-lockfile
17
18
# copy node_modules from temp directory
19
# then copy all (non-ignored) project files into the image
0 commit comments