GabrielML's picture
Init gradio repo
234009d
raw
history blame contribute delete
399 Bytes
FROM python:3.10-slim
WORKDIR /workspace
ADD requirements.txt /workspace/requirements.txt
RUN pip install -U pip
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install -r /workspace/requirements.txt
COPY src /workspace/src
ENV HOME=/workspace
CMD ["python", "src/app.py", "--host", "0.0.0.0", "--port", "7860"]
# ENTRYPOINT python src/app.py