diff --git a/Dockerfile b/Dockerfile index 9c83a35..6291d3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,4 +27,4 @@ COPY pyproject.toml poetry.lock ./ RUN poetry install COPY . . -CMD [". .venv/bin/activate && python3 main.py"] \ No newline at end of file +CMD ["./cmd.sh"] \ No newline at end of file diff --git a/cmd.sh b/cmd.sh new file mode 100755 index 0000000..ce49b88 --- /dev/null +++ b/cmd.sh @@ -0,0 +1 @@ +. .venv/bin/activate && python3 main.py \ No newline at end of file