Mimi commited on
Commit
573c6f7
·
1 Parent(s): 7dedf49

local build in my dreams

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -10,11 +10,10 @@ WORKDIR $HOME/app
10
 
11
  COPY --chown=user . $HOME/app
12
  # Install system dependencies and requirements
13
- RUN pip install --no-cache-dir --upgrade pip && \
 
14
  pip install --no-cache-dir -r $HOME/app/requirements.txt
15
 
16
- ARG HF_TOKEN
17
-
18
  EXPOSE 7860
19
  CMD huggingface-cli login --token $HF_TOKEN --add-to-git-credential && \
20
  streamlit run app.py \
 
10
 
11
  COPY --chown=user . $HOME/app
12
  # Install system dependencies and requirements
13
+ RUN chown -R user $HOME && \
14
+ pip install --no-cache-dir --upgrade pip && \
15
  pip install --no-cache-dir -r $HOME/app/requirements.txt
16
 
 
 
17
  EXPOSE 7860
18
  CMD huggingface-cli login --token $HF_TOKEN --add-to-git-credential && \
19
  streamlit run app.py \