@ -39,9 +39,9 @@ COPY --from=builder /app/apps/${SCOPE}/public ./apps/${SCOPE}/public
|
||||
COPY --from=builder --chown=node:node /app/apps/${SCOPE}/.next/standalone ./
|
||||
COPY --from=builder --chown=node:node /app/apps/${SCOPE}/.next/static ./apps/${SCOPE}/.next/static
|
||||
|
||||
COPY scripts/env.sh scripts/${SCOPE}-entrypoint.sh ./
|
||||
COPY scripts/inject-runtime-env.sh scripts/${SCOPE}-entrypoint.sh ./
|
||||
RUN chmod +x ./${SCOPE}-entrypoint.sh \
|
||||
&& chmod +x ./env.sh
|
||||
&& chmod +x ./inject-runtime-env.sh
|
||||
ENTRYPOINT ./${SCOPE}-entrypoint.sh
|
||||
|
||||
EXPOSE 3000
|
||||
|
Reference in New Issue
Block a user