|
@@ -14,8 +14,7 @@ RUN export PASSWORD_ENCODED=$(printf %s "${PASSWORD}" | jq -s -R -r @uri)
|
|
|
RUN git clone https://${USERNAME}:${PASSWORD_ENCODED}@114.115.147.140:63000/yf_yzl/QAWeb.git /code
|
|
RUN git clone https://${USERNAME}:${PASSWORD_ENCODED}@114.115.147.140:63000/yf_yzl/QAWeb.git /code
|
|
|
|
|
|
|
|
# 安装依赖
|
|
# 安装依赖
|
|
|
-COPY requirements.txt /code/
|
|
|
|
|
-RUN pip install -r requirements.txt
|
|
|
|
|
|
|
+RUN pip install -r /code/requirements.txt
|
|
|
|
|
|
|
|
# 配置 uWSGI
|
|
# 配置 uWSGI
|
|
|
ENV UWSGI_WSGI_FILE=project.wsgi
|
|
ENV UWSGI_WSGI_FILE=project.wsgi
|