初始化更新
This commit is contained in:
6
docker_env/django/Dockerfile
Normal file
6
docker_env/django/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM registry.cn-zhangjiakou.aliyuncs.com/dvadmin-pro/python310-base-backend:latest
|
||||
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 ["/backend/docker_start.sh"]
|
||||
Reference in New Issue
Block a user