Skip to content

Commit

Permalink
Merge pull request #48 from planetarium/fix-ci-cd
Browse files Browse the repository at this point in the history
fix(CI/CD): enable corepack in `builder` stage of Dockerfile
  • Loading branch information
boscohyun authored Jun 27, 2024
2 parents 8e86571 + ba6e84d commit e7eef74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ COPY . .
# Uncomment the following line in case you want to disable telemetry during the build.
ENV NEXT_TELEMETRY_DISABLED 1

RUN corepack enable && yarn --version
RUN yarn codegen
RUN yarn build

Expand Down Expand Up @@ -59,4 +60,3 @@ ENV PORT 3000
# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="0.0.0.0" node server.js

0 comments on commit e7eef74

Please sign in to comment.