From 921421f2e2f44178333f8ef3011c43bc4eb6e39e Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 25 Oct 2022 22:36:05 +0300 Subject: fix some docker compose things --- README.md | 5 +++-- docker-compose.yaml | 2 +- 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 -- cgit v1.2.3