I love docker :3

This commit is contained in:
Michał Gdula 2023-09-12 11:47:49 +01:00
parent b7f030826e
commit 3ed6658423

View file

@ -12,7 +12,7 @@ RUN apk update
RUN apk --no-cache add python3 py3-pip curl
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN poetry install
RUN poetry run python3 database.py
RUN /root/.local/bin/poetry install
RUN /root/.local/bin/poetry run python3 database.py
CMD ["poetry", "run", "python3", "main.py"]
CMD ["/root/.local/bin/poetry", "run", "python3", "main.py"]