From b25a83b164d2fb02b6515f8475a32d215afbeaa9 Mon Sep 17 00:00:00 2001 From: tobias Date: Fri, 5 Jul 2024 22:04:30 +0200 Subject: [PATCH] Revert "Copy entrypoint" This reverts commit 83ea63dde4dead983cc9b45181a11135436a1ab8. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8138e27..e83a1e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/public ./.next/standalone/public 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 FROM runner as prod ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable +COPY docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["pnpm start:standalone"]