Skip to content

Commit 2aa80c0

Browse files
committed
fix: dockerfile
1 parent c2a55b0 commit 2aa80c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bun.lockb

1.27 KB
Binary file not shown.

website/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ WORKDIR /usr/src/app
99
# this will cache them and speed up future builds
1010
FROM base AS install
1111
RUN mkdir -p /temp/dev
12-
COPY package.json bun.lockb /temp/dev/
13-
RUN cd /temp/dev && bun install --frozen-lockfile
12+
COPY package.json /temp/dev/
13+
RUN cd /temp/dev && bun install
1414

1515
# install with --production (exclude devDependencies)
1616
RUN mkdir -p /temp/prod
17-
COPY package.json bun.lockb /temp/prod/
18-
RUN cd /temp/prod && bun install --frozen-lockfile --production
17+
COPY package.json /temp/prod/
18+
RUN cd /temp/prod && bun install --production
1919

2020
# copy node_modules from temp directory
2121
# then copy all (non-ignored) project files into the image

0 commit comments

Comments
 (0)