diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2dcdcdd6..2a75a50d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ "dockerComposeFile": ["../compose.yml"], "service": "dev", "runServices": ["dev", "docs"], - "workspaceFolder": "/home/calitp/app", + "workspaceFolder": "/calitp/app", "postAttachCommand": ["/bin/bash", ".devcontainer/postAttach.sh"], "postStartCommand": ["/bin/bash", "bin/init.sh"], "customizations": { diff --git a/Dockerfile b/Dockerfile index c309ba77..a61c8667 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ RUN pip install build && python -m build FROM ghcr.io/cal-itp/docker-python-web:main as appcontainer -WORKDIR /home/calitp/app - # upgrade pip RUN python -m pip install --upgrade pip diff --git a/compose.yml b/compose.yml index c8ac8920..c2cf50ff 100644 --- a/compose.yml +++ b/compose.yml @@ -8,7 +8,7 @@ services: ports: - "8000" volumes: - - .:/home/calitp/app/ + - ./:/calitp/app/ dev: build: @@ -20,7 +20,7 @@ services: ports: - "8000" volumes: - - .:/home/calitp/app/ + - ./:/calitp/app/ docs: image: eligibility_server:dev @@ -29,4 +29,4 @@ services: ports: - "8001" volumes: - - .:/home/calitp/app + - ./:/calitp/app diff --git a/terraform/app_service.tf b/terraform/app_service.tf index e5c355df..bf5b17d3 100644 --- a/terraform/app_service.tf +++ b/terraform/app_service.tf @@ -7,7 +7,7 @@ resource "azurerm_service_plan" "main" { } locals { - mount_path = "/home/calitp/app/config" + mount_path = "/calitp/app/config" } resource "azurerm_linux_web_app" "main" {