Skip to content

Commit

Permalink
fix: include node binary in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
johanohly committed Oct 19, 2024
1 parent 2e96aec commit 6eb5c0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ENV NODE_ENV=production
RUN bun run build

FROM base AS release
# Required for prisma migrations to work on arm64 (oven-sh/bun#5320)
COPY --from=node:20 /usr/local/bin/node /usr/local/bin/node
COPY --from=install /temp/prod/node_modules node_modules
COPY --from=prerelease /app/build build
COPY --from=prerelease /app/package.json .
Expand Down

0 comments on commit 6eb5c0b

Please sign in to comment.