Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -7,11 +7,15 @@ COPY ./api.py /code/api.py
|
|
7 |
COPY ./json_parser.py /code/json_parser.py
|
8 |
COPY ./logger_config.py /code/logger_config.py
|
9 |
COPY ./response_formatter.py /code/response_formatter.py
|
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
|
|
13 |
RUN pip install -e .
|
14 |
|
|
|
|
|
15 |
EXPOSE 7860
|
16 |
|
17 |
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
7 |
COPY ./json_parser.py /code/json_parser.py
|
8 |
COPY ./logger_config.py /code/logger_config.py
|
9 |
COPY ./response_formatter.py /code/response_formatter.py
|
10 |
+
COPY ./dify_client_python /code/dify_client_python
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
+
WORKDIR /code/dify_client_python
|
15 |
RUN pip install -e .
|
16 |
|
17 |
+
WORKDIR /code
|
18 |
+
|
19 |
EXPOSE 7860
|
20 |
|
21 |
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|