Commit c118e41d authored by 周健君's avatar 周健君

modify Dockerfile

parent 07ecc532
...@@ -45,8 +45,9 @@ RUN apk add --no-cache --virtual .build-deps \ ...@@ -45,8 +45,9 @@ RUN apk add --no-cache --virtual .build-deps \
COPY . /srv/apps/backend-auto/ COPY . /srv/apps/backend-auto/
WORKDIR /srv/apps/backend-auto/ # 先这样 最好用环境变量 如果配置变多后 再挂载
RUN apk del .build-deps && echo "develop_host:" > host.yaml && echo " url: http://backend-service" >> host.yaml
RUN apk del .build-deps WORKDIR /srv/apps/backend-auto/
CMD python run.py 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