fix(docker): strip Windows CRLF from entrypoint.sh

This commit is contained in:
flobo3 authored and Xubin Ren committed 2026-04-07 13:32:01 +08:00
1 parent 5ee96721f7
commit 67e6f8cc7a
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ RUN useradd -m -u 1000 -s /bin/bash nanobot && \
chown -R nanobot:nanobot /home/nanobot /app
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
RUN sed -i 's/\r$//' /usr/local/bin/entrypoint.sh && chmod +x /usr/local/bin/entrypoint.sh
USER nanobot
ENV HOME=/home/nanobot