avfranco commited on
Commit
e7698db
·
1 Parent(s): ed1b61e

ea4all-docker-load-private-from-public-spaces

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -19,9 +19,8 @@ RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
  COPY --chown=user . $HOME/app
21
 
22
- WORKDIR /code
23
  RUN git clone https://huggingface.co/spaces/avfranco/ea4all-docker-demo
24
- COPY ./requirements.txt /code/requirements.txt
25
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
26
 
27
  CMD ["python", "main.py"]
 
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
  COPY --chown=user . $HOME/app
21
 
 
22
  RUN git clone https://huggingface.co/spaces/avfranco/ea4all-docker-demo
23
+ COPY ./requirements.txt .
24
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
25
 
26
  CMD ["python", "main.py"]