File size: 868 Bytes
59d3017
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM --platform=linux/amd64 ubuntu:20.04
ENV PATH="/root/miniconda3/bin:${PATH}"
ARG PATH="/root/miniconda3/bin:${PATH}"
WORKDIR /app
RUN apt-get update
RUN apt-get install gcc wget -y
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /app/Miniconda3-latest-Linux-x86_64.sh
RUN ls -la /app
RUN pwd
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
RUN . ~/.bashrc
RUN . /root/miniconda3/etc/profile.d/conda.sh
RUN conda update conda
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get install libgl1 libglib2.0-0 -y git-lfs
RUN git lfs install
RUN pip install --upgrade huggingface_hub
RUN git config --global credential.helper store
RUN huggingface-cli login --token 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
RUN git lfs install
RUN git clone https://huggingface.co/spaces/tayhan/minigpt-final
RUN conda env create -f minigpt-final/environment.yml