Add entrypoint to image, use it
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2024-06-18 15:44:01 -06:00
parent 4fb8c8362d
commit 8ceaf85ce0

View File

@ -34,4 +34,6 @@ COPY --from=builder /builder/next.config.mjs ./
FROM runner as server FROM runner as server
EXPOSE 3000 EXPOSE 3000
COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["pnpm", "start:standalone"] CMD ["pnpm", "start:standalone"]