move docker cmd to entrypoint

This commit is contained in:
Bruce 2025-05-14 15:16:04 +02:00 committed by GitHub
parent 38901474c6
commit bb8cbe18c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -7,4 +7,4 @@ RUN uv sync --frozen
COPY . . COPY . .
CMD ["uv", "run", "main.py"] CMD ["./entrypoint.sh"]

2
entrypoint.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
uv run main.py