File size: 376 Bytes
1228ed9
 
 
 
 
 
 
 
0232d80
 
 
 
 
 
71d118c
 
c550c2a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM bitnami/pytorch

WORKDIR /app

COPY ./requirements.txt /app/requirements.txt

RUN pip install --no-cache-dir -r /app/requirements.txt

RUN mkdir "/.cache/"
RUN mkdir "/.cache/huggingface/"
ENV HUGGINGFACE_HUB_CACHE="/.cache/huggingface"
RUN mkdir "/.cache/transformers/"
ENV TRANSFORMERS_CACHE="/.cache/transformers"

COPY . /app

CMD ["streamlit", "run", "/app/app.py"]