2
0

📦 Add Cloudron package (#550)

Closes #30
This commit is contained in:
Baptiste Arnaud
2023-06-14 08:59:38 +02:00
committed by GitHub
parent 0a87386305
commit 1e9c4bcb9a
16 changed files with 245 additions and 15 deletions

View File

@ -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