what-a-shot / Dockerfile
szymonrucinski's picture
Update Dockerfile
a22ec98
raw
history blame
No virus
452 Bytes
from condaforge/mambaforge
ENV MPLCONFIGDIR=".config/matplotlib"
RUN mkdir -m 777 .cache .config ./flagged
RUN git clone https://github.com/szymonrucinski/AiRoll
WORKDIR /AiRoll
RUN git 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"]