cheesecz commited on
Commit
343b5b1
·
verified ·
1 Parent(s): f72b785

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -16,5 +16,8 @@ COPY . .
16
  # Expose the Flask default port
17
  EXPOSE 7860
18
 
 
 
 
19
  # Run Flask server
20
  CMD ["python", "app.py"]
 
16
  # Expose the Flask default port
17
  EXPOSE 7860
18
 
19
+ # Set writable cache directory
20
+ ENV TRANSFORMERS_CACHE=/tmp
21
+
22
  # Run Flask server
23
  CMD ["python", "app.py"]