Skip to content

Commit

Permalink
Run corepack enable in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Oct 24, 2024
1 parent 1d34e71 commit 69bd253
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 @@ -13,5 +13,7 @@ COPY --from=build-env /build/dist /app
COPY --from=build-env /build/node_modules /app/node_modules
COPY package.json /app

RUN corepack enable

WORKDIR /app
ENTRYPOINT ["/usr/local/bin/node", "index.js"]

0 comments on commit 69bd253

Please sign in to comment.