From 237442fabbae781ee3b14ec270718e4e2a85739f Mon Sep 17 00:00:00 2001 From: busaud Date: Wed, 9 Oct 2024 18:46:26 +0000 Subject: [PATCH] Make sure the entrypoint script has the correct line endings --- apps/api/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 22aa995c..dce421d5 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -39,4 +39,7 @@ COPY --from=go-base /app/src/lib/go-html-to-md/html-to-markdown.so /app/dist/src EXPOSE 8080 ENV PUPPETEER_EXECUTABLE_PATH="/usr/bin/chromium" +# Make sure the entrypoint script has the correct line endings +RUN sed -i 's/\r$//' /app/docker-entrypoint.sh + ENTRYPOINT "/app/docker-entrypoint.sh" \ No newline at end of file