rs_annotation / Dockerfile
treizh's picture
Upload Dockerfile with huggingface_hub
d27e82d verified
raw
history blame
446 Bytes
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