chore: Improve performance in dev by running Node/Yarn outside of docker (#1271)

* Improve performance in dev by running Node/Yarn outside of docker

* Transpose exposed port numbers by 100, so less likely conflict with host processes
This commit is contained in:
Tom Moor
2020-05-17 18:12:48 -07:00
committed by GitHub
parent e0b33ee576
commit 18cf148bd1
4 changed files with 13 additions and 9 deletions

View File

@@ -1,7 +1,8 @@
up:
docker-compose up -d redis postgres s3
docker-compose run --rm outline /bin/sh -c "yarn && yarn sequelize db:migrate"
docker-compose up outline
yarn install --pure-lockfile
yarn sequelize db:migrate
yarn dev
build:
docker-compose build --pull outline