Change entrypoint, add dotenv for local debug

This commit is contained in:
Deko
2023-12-30 18:13:13 +01:00
parent 49f149b56a
commit 87f359b935
3 changed files with 18 additions and 2 deletions

View File

@@ -15,4 +15,4 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH=/root/.local/bin:$PATH
RUN poetry install
ENTRYPOINT ["poetry", "run", "python", "main.py"]
ENTRYPOINT ["poetry", "run", "python", "-m", "app.main"]