Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Remove users
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed Feb 24, 2019
1 parent b9b5480 commit c948e35
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3'

services:
server:
user: root
build:
dockerfile: ./server/Dockerfile
context: .
Expand All @@ -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
Expand All @@ -21,7 +19,6 @@ services:
command: npm run watch-start
env_file: ./server/.env
web:
user: root
build:
dockerfile: ./web/Dockerfile
context: .
Expand Down
2 changes: 0 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ COPY ./server ./

COPY ./types ../types

USER node

CMD ["npm", "run", "start"]
2 changes: 0 additions & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ COPY ./web ./

COPY ./types ../types

USER node

CMD ["npm", "run", "build"]

0 comments on commit c948e35

Please sign in to comment.