mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-10-29 14:12:43 +00:00
Merge pull request #31 from bcye/feature/entrypoint.sh
Move Docker CMD to Entrypoint
This commit is contained in:
@@ -7,4 +7,6 @@ RUN uv sync --frozen
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["uv", "run", "main.py"]
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
CMD ["./entrypoint.sh"]
|
||||
|
||||
2
entrypoint.sh
Normal file
2
entrypoint.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
uv run main.py
|
||||
Reference in New Issue
Block a user