From 5dac11a1f8681cd7a8da6d2629d3f793eeb6ee78 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Wed, 26 Oct 2022 14:19:42 +0100 Subject: [PATCH] fucking work --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9b81c95..b63bc30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ COPY --from=builder /app/public ./public # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static +COPY --from=builder --chown=nextjs:nodejs /app/entrypoint.sh ./entrypoint.sh USER nextjs @@ -63,6 +64,5 @@ EXPOSE 3000 ENV PORT 3000 -COPY entrypoint.sh ./ -ENTRYPOINT ["/entrypoint.sh"] +ENTRYPOINT ["/app/entrypoint.sh"] CMD ["node", "server.js"] \ No newline at end of file