diff --git a/README.md b/README.md index bc6e2926..72c8dda9 100644 --- a/README.md +++ b/README.md @@ -315,6 +315,10 @@ For that, you need Docker with docker-compose in your machine. Once you've everything running, you can simply run the following command to start the dev server: +```bash +docker-compose run --user 1000:1000 app npm install +``` + ```bash docker-compose up -d ``` diff --git a/docker-compose.yml b/docker-compose.yml index 39201b09..55014247 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ version: '2' services: app: + user: node image: node:10.13.0 command: npm run serve working_dir: /app