Revert "Copy entrypoint"
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 83ea63dde4
.
This commit is contained in:
parent
23357f0934
commit
b25a83b164
@ -37,14 +37,13 @@ COPY --from=builder /base/.next/standalone ./.next/standalone/
|
|||||||
COPY --from=builder /base/.next/static ./.next/standalone/.next/static
|
COPY --from=builder /base/.next/static ./.next/standalone/.next/static
|
||||||
COPY --from=builder /base/public ./.next/standalone/public
|
COPY --from=builder /base/public ./.next/standalone/public
|
||||||
COPY --from=builder /base/next.config.mjs ./
|
COPY --from=builder /base/next.config.mjs ./
|
||||||
COPY --from=builder /base/next.config.mjs ./
|
|
||||||
COPY --from=builder /base/docker-entrypoint.sh ./
|
|
||||||
|
|
||||||
# Production: serve the website
|
# Production: serve the website
|
||||||
FROM runner as prod
|
FROM runner as prod
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
ENV PATH="$PNPM_HOME:$PATH"
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
RUN chmod +x /docker-entrypoint.sh
|
RUN chmod +x /docker-entrypoint.sh
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
CMD ["pnpm start:standalone"]
|
CMD ["pnpm start:standalone"]
|
||||||
|
Loading…
Reference in New Issue
Block a user