refactored docker-compose

This commit is contained in:
Dantenerosas authored and nikili0n committed 2024-04-23 14:57:01 +03:00
1 parent d984566a88
commit 0651fb6ff0
6 files changed
+80 -9

No files matched your search

+17
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