We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 127ca45 + 9d4691a commit e909b51Copy full SHA for e909b51
2 files changed
.gitattributes
@@ -0,0 +1,3 @@
1
+# Windows checkouts must not use CRLF on shell scripts — breaks Linux shebang/exec
2
+# (symptom: exec /usr/local/bin/docker-entrypoint.sh: no such file or directory)
3
+*.sh text eol=lf
upload-api/Dockerfile
@@ -15,7 +15,8 @@ RUN mkdir -p /app/build \
15
&& chown -R nodeapp:nodeapp /app
16
17
COPY docker-entrypoint.sh /usr/local/bin/
18
-RUN chmod +x /usr/local/bin/docker-entrypoint.sh
+RUN sed -i 's/\r$//' /usr/local/bin/docker-entrypoint.sh \
19
+ && chmod +x /usr/local/bin/docker-entrypoint.sh
20
21
USER nodeapp
22
0 commit comments