Move the command to docker-compose.

This commit is contained in:
Ralph Bean
2016-10-24 20:52:10 -04:00
parent 05b1ea3ed9
commit b9251dee9e
2 changed files with 1 additions and 1 deletions

View File

@@ -14,4 +14,3 @@ COPY copr.conf /etc/module_build_service/
COPY . /opt/module_build_service/
RUN python2 ./manage.py upgradedb && python2 manage.py generatelocalhostcert
CMD ["python2", "manage.py", "runssl"]

View File

@@ -29,3 +29,4 @@ services:
- fedmsg-relay
volumes:
- ./module_build_service/:/opt/module_build_service/module_build_service/:Z
command: python2 manage.py runssl