Zai / Dockerfile
huynhkimthien's picture
Update Dockerfile
35332e9 verified
raw
history blame
309 Bytes
FROM python:3.10
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install python-multipart
COPY . .
docker-compose build
docker-compose up
RUN apt update && apt install -y ffmpeg
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]