|
@@ -4,10 +4,12 @@ RUN apt-get update && \
|
|
|
|
|
|
|
|
|
WORKDIR /code
|
|
|
+
|
|
|
ADD ./ai-slibra-assistant /code
|
|
|
|
|
|
-# 安装项目依赖
|
|
|
-RUN pip install -r requirements.txt
|
|
|
+COPY ./requirements.txt /code/requirements.txt
|
|
|
+# 安装依赖
|
|
|
+RUN pip install -r /code/requirements.txt
|
|
|
|
|
|
EXPOSE 40072
|
|
|
#CMD ["gunicorn", "-w 1", "-b 0.0.0.0:8000", "src.core.server:app"]
|