change order of command to save memory for stage
This commit is contained in:
parent
4b733d046b
commit
e925b49d20
|
@ -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:
|
||||
|
|
|
@ -32,6 +32,7 @@ services:
|
|||
context: .
|
||||
dockerfile: ./compose/django/Dockerfile
|
||||
user: django
|
||||
mem_limit: 256m
|
||||
depends_on:
|
||||
- postgres
|
||||
# - redis
|
||||
|
|
Loading…
Reference in New Issue