Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ COPY requirements.txt .
|
|
4 |
RUN apt update && apt install -y curl git && rm -rf /var/lib/apt/lists/*
|
5 |
RUN pip install --no-cache-dir -r requirements.txt
|
6 |
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
7 |
-
RUN python -c "from transformers import AutoModelForSeq2SeqLM; AutoModelForSeq2SeqLM.from_pretrained('facebook/bart-large-cnn'
|
8 |
RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')"
|
9 |
COPY . .
|
10 |
EXPOSE 7860
|
|
|
4 |
RUN apt update && apt install -y curl git && rm -rf /var/lib/apt/lists/*
|
5 |
RUN pip install --no-cache-dir -r requirements.txt
|
6 |
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
7 |
+
RUN python -c "from transformers import AutoModelForSeq2SeqLM; AutoModelForSeq2SeqLM.from_pretrained('facebook/bart-large-cnn')"
|
8 |
RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')"
|
9 |
COPY . .
|
10 |
EXPOSE 7860
|