generated from geekiot/python-template
Change [scripts]: The logic of the scripts is completely separated from the main code
This commit is contained in:
parent
0ded0fa64e
commit
1c5edbaa60
3 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ RUN uv sync --locked --no-install-project --no-dev
|
|||
ENV PATH="/urfu-daddy/.venv/bin:$PATH"
|
||||
|
||||
# Compile Babel locales
|
||||
RUN uv run --active --script ./src/scripts/pybabel.py compile
|
||||
RUN uv run --active --script ./scripts/pybabel.py compile
|
||||
|
||||
# Clear entrypoint
|
||||
ENTRYPOINT []
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ services:
|
|||
build:
|
||||
context: ..
|
||||
dockerfile: ./docker/Dockerfile
|
||||
command: sh -c "uv run --no-dev ./src/main.py"
|
||||
command: ["uv", "run", "--no-dev", "./src/main.py"]
|
||||
restart: always
|
||||
depends_on:
|
||||
- database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue