Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -10,8 +10,10 @@ ENV PATH="/root/.local/bin:$PATH"
|
|
10 |
FROM base as dependencies
|
11 |
WORKDIR /home/worker/app
|
12 |
|
13 |
-
# Copy the project
|
14 |
-
COPY
|
|
|
|
|
15 |
RUN poetry config installer.max-workers 10
|
16 |
RUN poetry install --with ui
|
17 |
|
|
|
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
|
18 |
RUN poetry install --with ui
|
19 |
|