From 8ceaf85ce0afb1b8aa08546873f7b72347c0a177 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 18 Jun 2024 15:44:01 -0600 Subject: [PATCH] Add entrypoint to image, use it --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index c9f5b74..c3580c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,4 +34,6 @@ COPY --from=builder /builder/next.config.mjs ./ FROM runner as server EXPOSE 3000 +COPY docker-entrypoint.sh /docker-entrypoint.sh +ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["pnpm", "start:standalone"]