Spaces:
Runtime error
Runtime error
File size: 327 Bytes
5fbd25d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime
ENV TZ=Asia/Shanghai
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir opencv-python-headless -i https://pypi.org/simple
EXPOSE 8888
CMD ["python", "main.py", "--host", "0.0.0.0", "--port", "8888", "--skip-pip"]
|