From bf05c4f1ec65220888b76818af9f7c5484944909 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 18 Nov 2021 21:46:53 +0000 Subject: [PATCH] Comment out default volume map given that the container is mainly for testing anyway --- docker-compose.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1d698d2..1ca92cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,11 +10,13 @@ services: build: context: . dockerfile: dockerfile + networks: + - com.othyn.network ports: - 3000:3000 - volumes: - - .:/var/www - - /var/www/node_modules + # volumes: + # - .:/var/www + # - /var/www/node_modules # anonymous persistent volume to stop node_modules within the container being overriden by local - networks: - - com.othyn.network + # - ./logs:/root/.npm/_logs + # for debugging container issues