chore: update docker_logic (#303)

This commit is contained in:
Wendong-Fan 2025-09-05 21:05:46 +08:00 committed by GitHub
commit b53a2e7e8d
3 changed files with 3 additions and 2 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.sh text eol=lf

View file

@ -42,7 +42,7 @@ ENV PATH="/app/.venv/bin:$PATH"
# Copy and make the start script executable
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
RUN sed -i 's/\r$//' /app/start.sh && chmod +x /app/start.sh
# Reset the entrypoint, don't invoke `uv`
ENTRYPOINT []

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# wait for database to be ready
echo "Waiting for database to be ready..."