Hand-Gesture / Dockerfile
MissingBreath's picture
Update Dockerfile
74084f0 verified
raw
history blame contribute delete
406 Bytes
FROM python:3.9
WORKDIR /code
ENV HF_HOME=/code/.cache/
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN gdown 1--s5VPP_1B41GWnEwjPo5fmzCZNly2Qg
RUN gdown 1-0E0vnXgbI1jaEA8u7IQ6DuNOAUt3YK4
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]