Fix: line break

This commit is contained in:
2025-12-17 01:48:48 +09:00
parent 37b680c6f5
commit 1e56b35306
+2 -3
View File
@@ -20,9 +20,8 @@ COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Change line break
RUN apk add --no-cache dos2unix
RUN dos2unix /entrypoint.sh
RUN find /app -type f -exec dos2unix {} \;
RUN sed -i 's/\r$//' /entrypoint.sh \
&& find /app -type f -exec sed -i 's/\r$//' {} \;
# Run entrypoint
ENTRYPOINT ["/entrypoint.sh"]