Spaces:
Sleeping
Sleeping
File size: 446 Bytes
905bbba d27e82d 905bbba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.11
WORKDIR /code
COPY . /code/
RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
CMD ["panel", "serve", "/code/app.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir .chroma
RUN chmod 777 .chroma |