use sh file as cmd

This commit is contained in:
ThePhaseless
2024-11-25 09:26:14 +00:00
parent c40ad328f1
commit 4453fa6a93
2 changed files with 2 additions and 1 deletions
+1 -1
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"]
Executable
+1
View File
@@ -0,0 +1 @@
. .venv/bin/activate && python3 main.py