Skip to content

Commit 17bea43

Browse files
author
Hans Kristian Flaatten
committed
chore(docker): upgrade Docker Compose file format
1 parent 822bdc7 commit 17bea43

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

docker-compose.yml

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
dev:
2-
image: node:argon
3-
working_dir: /usr/src/app
4-
volumes:
5-
- ".:/usr/src/app"
6-
command: "npm run watch"
7-
env_file: .env
8-
environment:
9-
- NTB_API_ENV=dev
10-
- NTB_USER_AGENT=turbasen.js/alpha
1+
version: '2'
2+
3+
services:
4+
node:
5+
image: node:argon
6+
working_dir: /usr/src/app
7+
volumes:
8+
- .:/usr/src/app
9+
env_file: .env
10+
environment:
11+
- NODE_ENV=development
12+
- NPM_CONFIG_LOGLEVEL=silent
13+
- NPM_CONFIG_PROGRESS=false
14+
- NPM_CONFIG_SPIN=false
15+
- NTB_API_ENV=dev
16+
- NTB_USER_AGENT=turbasen.js/alpha
17+
command: npm run test:watch

0 commit comments

Comments
 (0)