File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,11 @@ RUN chown nextjs:nodejs .next
6161
6262# Automatically leverage output traces to reduce image size
6363# https://nextjs.org/docs/advanced-features/output-file-tracing
64+ COPY --from=builder --chown=nextjs:nodejs /app/src/__generated__/ ./src/__generated__/
6465COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
6566COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
6667
6768USER nextjs
6869
6970
70- CMD ["sh" ,"-c" , "PORT =${CADENCE_WEB_PORT:-8088} exec node server.js" ]
71+ CMD ["sh" ,"-c" , "CADENCE_WEB_PORT =${CADENCE_WEB_PORT:-8088} PORT=${CADENCE_WEB_PORT } exec node server.js" ]
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "dev" : " next dev -p ${CADENCE_WEB_PORT} | pino-pretty" ,
77 "build" : " NODE_ENV=production && next build" ,
8- "start" : " next start -p ${CADENCE_WEB_PORT-8088 }" ,
8+ "start" : " next start -p ${CADENCE_WEB_PORT}" ,
99 "lint" : " next lint" ,
1010 "typecheck" : " tsc --noemit" ,
1111 "install-idl" : " mkdir -p node_modules && cd node_modules && npx --yes tiged https://github.com/cadence-workflow/cadence-idl cadence-idl --force" ,
You can’t perform that action at this time.
0 commit comments