123456789101112131415161718192021 |
- FROM python:3.9-slim-buster
- RUN apt-get update && \
- apt-get install -y ffmpeg libsm6 libxext6 && \
- apt-get remove --purge -y && rm -rf /var/lib/apt/lists/*
- RUN pip install python-multipart
- WORKDIR /app/src
- ADD . /app
- RUN pip install -r requirements.txt
- EXPOSE 5000
- CMD ["python3","main.py"]
|