Skip to content

Commit 439f824

Browse files
committed
fix: make sure to ACTUALLY copy package.json into final build step
1 parent 0f0979c commit 439f824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ RUN pnpm prisma generate
1414
## Build bundle ##
1515
FROM install AS builder
1616
COPY --from=install /app/node_modules node_modules
17-
COPY --from=install /app/package.json package.json
1817
COPY . .
1918

2019
ARG API_SUPERKEY
@@ -36,6 +35,7 @@ RUN pnpm prisma migrate deploy
3635
FROM base AS app
3736

3837
COPY --from=install /app/node_modules node_modules
38+
COPY --from=install /app/package.json package.json
3939
COPY --from=builder /app/build ./build
4040
EXPOSE 3000/tcp
4141
CMD bun ./build/index.js

0 commit comments

Comments
 (0)