aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--docker-compose.yaml2
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 975962f..cf60646 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,9 @@ You can find the API [here](https://git.batnako.net/scale-api.git/).
### Build and Run
-For development I use: `NODE_TLS_REJECT_UNAUTHORIZED=0 DEV=1 npm run dev`
-To delpoy it with docker: `docker-compose up scale`
+Make sure to run `npm update` before anything else.
+For development I use: `NODE_TLS_REJECT_UNAUTHORIZED=0 DEV=1 npm run dev`.
+To delpoy it with docker: `docker-compose up scale`.
### What can it do?
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 046eb60..cd54092 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -3,7 +3,7 @@ services:
scale:
image: "node:latest"
container_name: scale
- user: "node"
+ user: "root"
working_dir: /home/node/app
environment:
- NODE_ENV=production