Spaces:
Sleeping
Sleeping
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/Step5_Marker_Threshold_Classification.py","/code/Step3_Background_Substraction.py", "/code/Step2_Quality_Control.py", "/code/Step1_Setup.py", "/code/Step4_ZScore.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--index", "/code/index.html"] | |
RUN mkdir /.cache | |
RUN chmod 777 /.cache | |
RUN chmod -R 777 /code | |
RUN chmod -R 777 ./ | |
RUN mkdir .chroma | |
RUN chmod 777 .chroma |