Commit 0273f60c authored by 周健君's avatar 周健君

modify auto

parent 6933fa19
......@@ -2,7 +2,7 @@ FROM ccr.ccs.tencentyun.com/gm-base/py3.8:v1.0
COPY ./requirements.txt /tmp
WORKDIR /srv/apps/backend-auto/
WORKDIR /srv/apps/backend_auto/
RUN apk add --no-cache --virtual .build-deps \
bzip2-dev \
......@@ -43,11 +43,12 @@ RUN apk add --no-cache --virtual .build-deps \
&& pip install --no-cache-dir -r /tmp/requirements.txt
COPY . /srv/apps/backend-auto/
COPY . /srv/apps/backend_auto/
# 先这样 最好用环境变量 如果配置变多后 再挂载
RUN apk add curl && apk del .build-deps && echo "develop_host:" > host.yaml && echo " url: http://backend-service" >> host.yaml
WORKDIR /srv/apps/backend-auto/
# 代码里有写死的 backend_auto
WORKDIR /srv/apps/backend_auto/
CMD python run.py
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment