Spaces:
Sleeping
Sleeping
Download Dockerfile from LaboLabrie/CycIF: direct link, hf CLI and curl.
- Browser
- Download file 579 Bytes
-
https://huggingface.co/spaces/LaboLabrie/CycIF/resolve/5add401b9bd7cc7699735c5d4bcdaeb3d87a8a4a/Dockerfile
- Command line
-
hf download hf://spaces/LaboLabrie/CycIF@5add401b9bd7cc7699735c5d4bcdaeb3d87a8a4a/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LaboLabrie/CycIF/resolve/5add401b9bd7cc7699735c5d4bcdaeb3d87a8a4a/Dockerfile
579 Bytes
| 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 . . | |
| EXPOSE 7860 | |
| CMD ["panel", "serve", "/code/app.py", "/code/Setup.py", "/code/Quality_Control.py", "/code/Background_Substraction.py", "/code/Z_Score.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"] | |
| RUN mkdir /.cache | |
| RUN chmod 777 /.cache | |
| RUN chmod -R 777 /code | |
| RUN chmod -R 777 ./ | |
| RUN mkdir .chroma | |
| RUN chmod 777 .chroma |