提交 c1599ebc 编写于 作者: T ToBeADevOps

第一次自动化打包部署_011

没有正常部署运行,尝试将命令放在RUN中
上级 561d7e6e
......@@ -6,6 +6,7 @@ WORKDIR /usr/src/app
RUN tar zxvf django-PACP-0.1.tar.gz && \
cd django-PACP-0.1 && \
pip install -r requirements.txt
pip install -r requirements.txt && \
python manage.py runserver
CMD ["python", "manage.py", "runserver"]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册