mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 18:58:11 +08:00
Docker to production
This commit is contained in:
@@ -15,4 +15,3 @@ RUN yum install -y epel-release && yum clean all\
|
||||
&& pip install --no-cache-dir -r docs/requirements.txt
|
||||
|
||||
CMD ["bash", "-c", "cp api/settings.py.example api/settings.py && sed -i 's#{user}:{password}@127.0.0.1:3306/{db}#:@127.0.0.1:3306/cmdb#g' api/settings.py && flask run"]
|
||||
|
||||
|
Reference in New Issue
Block a user