File size: 518 Bytes
a22ec98
722f1fd
1d1c180
d4ac85f
fe05397
 
d687322
a880db3
c132419
f39e53a
65922ae
a22ec98
 
112ebb1
53ae100
a22ec98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from condaforge/mambaforge
ENV MPLCONFIGDIR=".config/matplotlib"
RUN mkdir -m 777 .cache .config ./flagged
RUN apt update
RUN apt-get install git-lfs
RUN git lfs clone https://github.com/szymonrucinski/AiRoll
WORKDIR /AiRoll
RUN apt update
RUN git lfs clone https://huggingface.co/szymonrucinski/what-a-shot
RUN ls
RUN mv ./what-a-shot ./model
RUN conda env create -f environment.yaml && conda info
RUN mamba init bash
RUN mkdir -m 777 flagged
EXPOSE 7860
CMD ["mamba", "run", "-n", "airoll", "gradio", "start_api.py"]