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
61
61
62
62
# Automatically leverage output traces to reduce image size
63
63
# https://nextjs.org/docs/advanced-features/output-file-tracing
64
+ COPY --from=builder --chown=nextjs:nodejs /app/src/__generated__/ ./src/__generated__/
64
65
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
65
66
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
66
67
67
68
USER nextjs
68
69
69
70
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 5
5
"scripts" : {
6
6
"dev" : " next dev -p ${CADENCE_WEB_PORT} | pino-pretty" ,
7
7
"build" : " NODE_ENV=production && next build" ,
8
- "start" : " next start -p ${CADENCE_WEB_PORT-8088 }" ,
8
+ "start" : " next start -p ${CADENCE_WEB_PORT}" ,
9
9
"lint" : " next lint" ,
10
10
"typecheck" : " tsc --noemit" ,
11
11
"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