Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ FROM base as dependencies
|
|
11 |
WORKDIR /home/worker/app
|
12 |
|
13 |
# Copy the project files before running poetry install
|
14 |
-
COPY pyproject.toml poetry.lock ./
|
15 |
RUN poetry config installer.max-workers 10
|
16 |
RUN poetry install --with ui
|
17 |
|
@@ -32,9 +32,9 @@ RUN mkdir models; chown worker models
|
|
32 |
|
33 |
# Copy only the necessary files for the app
|
34 |
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|
35 |
-
COPY --chown=worker private_gpt/ private_gpt
|
36 |
-
COPY --chown=worker docs/ docs
|
37 |
-
COPY --chown=worker
|
38 |
|
39 |
USER worker
|
40 |
|
|
|
11 |
WORKDIR /home/worker/app
|
12 |
|
13 |
# Copy the project files before running poetry install
|
14 |
+
COPY Ibraaheem/invenxion-chatbot/private_gpt/pyproject.toml Ibraaheem/invenxion-chatbot/private_gpt/poetry.lock ./
|
15 |
RUN poetry config installer.max-workers 10
|
16 |
RUN poetry install --with ui
|
17 |
|
|
|
32 |
|
33 |
# Copy only the necessary files for the app
|
34 |
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|
35 |
+
COPY --chown=worker Ibraaheem/invenxion-chatbot/private_gpt/ private_gpt
|
36 |
+
COPY --chown=worker Ibraaheem/invenxion-chatbot/private_gpt/docs/ docs
|
37 |
+
COPY --chown=worker Ibraaheem/invenxion-chatbot/private_gpt/*.yaml Ibraaheem/invenxion-chatbot/private_gpt/*.md ./
|
38 |
|
39 |
USER worker
|
40 |
|