Spaces:
Runtime error
Runtime error
FROM python:3.11 | |
WORKDIR /code | |
COPY ./requirements.txt /code/requirements.txt | |
RUN python3 -m pip install --no-cache-dir --upgrade pip | |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY . . | |
RUN python3 download_datasets.py | |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "4", "--index", "app"] | |
RUN chmod 777 data | |
ENV NUMBA_CACHE_DIR=/code/.cache | |
RUN mkdir .cache | |
RUN chmod 777 .cache |