use sh file as cmd

This commit is contained in:
Thephaseless 2024-11-25 09:26:14 +00:00
parent 225a23a72f
commit 5ca863f0a7
2 changed files with 2 additions and 1 deletions

View File

@ -27,4 +27,4 @@ COPY pyproject.toml poetry.lock ./
RUN poetry install
COPY . .
CMD [". .venv/bin/activate && python3 main.py"]
CMD ["./cmd.sh"]

1
cmd.sh Executable file
View File

@ -0,0 +1 @@
. .venv/bin/activate && python3 main.py