refactored docker-compose

This commit is contained in:
nikili0n
2023-11-29 16:15:48 +03:00
parent 35b6ff8546
commit d86e95093d
6 changed files with 80 additions and 9 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM python:3.11.4
WORKDIR /app
COPY poetry.lock pyproject.toml /app/
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get install -y ffmpeg
RUN pip install poetry
RUN poetry install --no-root
COPY .. /app
CMD poetry run python main.py