18 lines
247 B
Docker
18 lines
247 B
Docker
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
|