bright1 commited on
Commit
e0bef52
1 Parent(s): 4806a9a

modified DOCKERFILE

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,8 @@ WORKDIR /code
8
  # Create a writable directory for the cache
9
  RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 /.cache
10
 
 
 
11
  # Set the TRANSFORMERS_CACHE environment variable
12
  ENV TRANSFORMERS_CACHE /.cache/huggingface/hub
13
 
@@ -20,6 +22,7 @@ RUN pip3 install -r requirements.txt
20
 
21
  #
22
  COPY ./src /code/src
 
23
 
24
  #
25
  CMD ["streamlit","run", "src/app/app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
8
  # Create a writable directory for the cache
9
  RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 /.cache
10
 
11
+
12
+
13
  # Set the TRANSFORMERS_CACHE environment variable
14
  ENV TRANSFORMERS_CACHE /.cache/huggingface/hub
15
 
 
22
 
23
  #
24
  COPY ./src /code/src
25
+ RUN mkdir -p /code/src/app/../assets/
26
 
27
  #
28
  CMD ["streamlit","run", "src/app/app.py", "--server.port=7860", "--server.address=0.0.0.0"]