television/src/scheduler/Dockerfile

23 lines
561 B
Text
Raw Normal View History

2023-12-30 21:54:40 -05:00
FROM python:3-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2023-12-30 21:54:40 -05:00
WORKDIR /python-docker
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY requirements-pydantic-pin.txt requirements-pydantic-pin.txt
RUN pip3 install -r requirements-pydantic-pin.txt
RUN pip3 install https://github.com/datarhei/core-client-python/archive/refs/tags/1.1.0.tar.gz
COPY . .
EXPOSE 8080
2024-01-16 10:31:40 -05:00
CMD [ "waitress-serve", "--port=8080", "--call", "scheduler:create_app"]