Make sure the entrypoint script has the correct line endings

This commit is contained in:
busaud 2024-10-09 18:46:26 +00:00 committed by Gergő Móricz
parent ae464ada60
commit 237442fabb

View File

@ -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"