Del: Improved line feed code conversion
This commit is contained in:
+1
-3
@@ -33,9 +33,7 @@ RUN cat <<EOF > /app/config.json
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Change line break
|
# Change line break
|
||||||
RUN find /app -type f -print0 \
|
RUN find /app -type f -exec sed -i 's/\r$//' {} \;
|
||||||
| xargs -0 grep -Il "$(printf '\r')" \
|
|
||||||
| xargs -0 sed -i 's/\r$//'
|
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
Reference in New Issue
Block a user