Fix: line break
This commit is contained in:
+2
-3
@@ -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"]
|
||||
Reference in New Issue
Block a user