From c948e35dd262f74f8f7896d79055f8bd1c80d232 Mon Sep 17 00:00:00 2001 From: MrXyfir Date: Sun, 24 Feb 2019 13:08:17 -0800 Subject: [PATCH] Remove users --- docker-compose.yml | 3 --- server/Dockerfile | 2 -- web/Dockerfile | 2 -- 3 files changed, 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 464c41e..8b610ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,6 @@ version: '3' services: server: - user: root build: dockerfile: ./server/Dockerfile context: . @@ -11,7 +10,6 @@ services: ports: - 2000:2000 - 9229:9229 - - 9230:9230 volumes: - ./server:/opt/accownt/server:delegated - ./server/package.json:/opt/accownt/server/package.json @@ -21,7 +19,6 @@ services: command: npm run watch-start env_file: ./server/.env web: - user: root build: dockerfile: ./web/Dockerfile context: . diff --git a/server/Dockerfile b/server/Dockerfile index 3355455..ac40e51 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -12,6 +12,4 @@ COPY ./server ./ COPY ./types ../types -USER node - CMD ["npm", "run", "start"] \ No newline at end of file diff --git a/web/Dockerfile b/web/Dockerfile index 629ebdc..b6fefc4 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -12,6 +12,4 @@ COPY ./web ./ COPY ./types ../types -USER node - CMD ["npm", "run", "build"] \ No newline at end of file