Fix docker setup

This commit is contained in:
Serge Latyntcev 2021-01-14 17:03:31 +13:00
parent b18754670b
commit df4c59ff51
2 changed files with 4 additions and 4 deletions

View File

@ -34,9 +34,9 @@ To set up a local instance of [doc.silverstripe.org](https://github.com/silverst
No local NodeJS nor gatsby-cli is required for this option. No local NodeJS nor gatsby-cli is required for this option.
* Make sure docker and docker-compose are installed and docker daemon is running * Make sure docker and docker-compose are installed and docker daemon is running
* Simply use `./docker/run` to run gatsby commands * Simply use `./docker/run` to run yarn commands within container
- `./docker/run build` would be equal to run `gatsby build` within a container - `./docker/run dev-docs` would be equal to run `yarn dev-docs` within a container
- `./docker/run develop -p 8000` would run `gatsby develop -p 8000` within a container. - `./docker/run build-docs` would run `yarn build-docs` within a container
### Native install ### Native install

View File

@ -6,4 +6,4 @@ if [[ ! -d "/app/node_modules" ]] ; then
yarn; yarn;
fi; fi;
gatsby $@ yarn $@