Skip to content

Commit f443002

Browse files
committed
Use a named volume
1 parent 96555f3 commit f443002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979

8080
volumes:
8181
- .:/srv/app
82-
- /srv/app/node_modules
82+
- node_modules:/srv/app/node_modules
8383

8484
ports:
8585
- "3000:3000"
@@ -114,3 +114,4 @@ services:
114114
volumes:
115115
postgres_data:
116116
redis_data:
117+
node_modules:

0 commit comments

Comments
 (0)