From bbd1d60458670f31b6a77ad0e6679a9a0c0201b9 Mon Sep 17 00:00:00 2001 From: Sue Garner Date: Wed, 24 Jul 2024 11:06:49 +0100 Subject: [PATCH] MAS-000 Correct docker-compose so it's not bash specific --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9945c2c..97e675f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: HOST_PORT: ${HOST_PORT} STATIC_SITE_PATH: ${STATIC_SITE_PATH} volumes: - - $PWD/cms:/app + - ./cms:/app # Ignore node_modules from mounting to avoid binaries compiled on host machine architecture not working on docker machine: https://stackoverflow.com/a/37898591/486434 - /app/node_modules depends_on: @@ -46,7 +46,7 @@ services: # Mount a volume from the host machine to persist files # Note: the $PWD var is a bash thing so this won't work in cmd on Windows volumes: - - $PWD/s3-mock/data:/data + - ./s3-mock/data:/data environment: MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY} MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}