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