major-tom-explorer / Dockerfile
MarcSkovMadsen's picture
update
64df5de
raw
history blame
454 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN python3 -m pip install uv
RUN python3 -m uv pip install -r /code/requirements.txt
RUN python3 download_datasets.py
COPY . .
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