mkunz7 commited on
Commit
15c03c1
1 Parent(s): 423cb80

hopefully fix caching?

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  FROM ubuntu
2
  WORKDIR /app
3
  COPY . /app
 
 
4
  RUN apt update && apt install -y python3 python3-pip ffmpeg nano
5
  RUN pip install flask transformers librosa torch torchaudio gunicorn
6
  EXPOSE 8080
 
1
  FROM ubuntu
2
  WORKDIR /app
3
  COPY . /app
4
+ RUN mkdir /app/cache
5
+ ENV TRANSFORMERS_CACHE=/app/cache
6
  RUN apt update && apt install -y python3 python3-pip ffmpeg nano
7
  RUN pip install flask transformers librosa torch torchaudio gunicorn
8
  EXPOSE 8080