配置变化: 更新 Dockerfile

pull/79/head
李强 2022-11-10 01:59:40 +08:00
parent 54e2ccb380
commit 953eb9d679
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@ WORKDIR /backend
COPY ./backend/ .
RUN awk 'BEGIN { cmd="cp -i ./conf/env.example.py ./conf/env.py "; print "n" |cmd; }'
RUN python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt
CMD ["daphne","-b","0.0.0.0","-p","8000","application.asgi:application"]
CMD ["/dvadmin-backend/docker_start.sh"]