From 3c6f71b1e4f6bde4963f3aa54a03c688865e32ae Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 10 Dec 2024 16:24:32 +0000 Subject: [PATCH] chore(devcontainer): remap localhost directory into the /caltrans/app directory setup for the appcontainer --- .devcontainer/devcontainer.json | 2 +- compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 915ec56..ac6c6c0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "dockerComposeFile": ["../compose.yml"], "service": "dev", "forwardPorts": ["docs:8000", "kibana:5601"], - "workspaceFolder": "/home/caltrans/src", + "workspaceFolder": "/caltrans/app", "postStartCommand": ["/bin/bash", "bin/reset_db.sh"], "postAttachCommand": ["/bin/bash", ".devcontainer/postAttach.sh"], "customizations": { diff --git a/compose.yml b/compose.yml index 5609749..091b2aa 100644 --- a/compose.yml +++ b/compose.yml @@ -19,7 +19,7 @@ services: # https://code.visualstudio.com/docs/remote/create-dev-container#_use-docker-compose entrypoint: sleep infinity volumes: - - ./:/home/caltrans/src + - ./:/caltrans/app docs: image: caltrans/pems:dev