change order of command to save memory for stage

This commit is contained in:
Oly 2017-04-12 09:01:41 +01:00
parent 4b733d046b
commit e925b49d20
2 changed files with 2 additions and 1 deletions

View File

@ -28,8 +28,8 @@ pipeline:
script:
- cd /var/www/stage/maidstone-hackspace-website
- git pull
- docker-compose -fstage.yml build
- docker-compose -fstage.yml down --remove-orphans
- docker-compose -fstage.yml build
- docker-compose -fstage.yml up -d
publish-live:

View File

@ -32,6 +32,7 @@ services:
context: .
dockerfile: ./compose/django/Dockerfile
user: django
mem_limit: 256m
depends_on:
- postgres
# - redis