Ibraaheem commited on
Commit
065458e
·
1 Parent(s): 673263a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -10,8 +10,9 @@ ENV PATH="/root/.local/bin:$PATH"
10
  FROM base as dependencies
11
  WORKDIR /home/worker/app
12
 
13
- # Copy the entire project before running poetry install
14
- COPY . .
 
15
 
16
  # Explicitly copy the project files before running poetry install
17
  RUN poetry config installer.max-workers 10
 
10
  FROM base as dependencies
11
  WORKDIR /home/worker/app
12
 
13
+ # Download the pyproject.toml file
14
+ ADD https://huggingface.co/spaces/Ibraaheem/invenxion-chatbot/raw/main/pyproject.toml pyproject.toml
15
+ ADD https://huggingface.co/spaces/Ibraaheem/invenxion-chatbot/raw/main/poetry.lock poetry.lock
16
 
17
  # Explicitly copy the project files before running poetry install
18
  RUN poetry config installer.max-workers 10