Spaces:
Runtime error
Runtime error
File size: 490 Bytes
08720f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
# FROM python:3.9
# WORKDIR /code
# COPY ./requirements.txt /code/requirements.txt
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# for open cv
RUN apt-get update && apt-get install libgl1 -y
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/ChatAnything
COPY --chown=user . $HOME/ChatAnything
RUN pip install -r requirements.txt
CMD python app.py
|