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