File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " FastAPI Jinja2 Postgres WebApp" ,
3- "workspaceFolder" : " /workspaces/fastapi-jinja2-postgres-webapp " ,
3+ "workspaceFolder" : " /workspaces/${localWorkspaceFolderBasename} " ,
44
55 // Ensure .env exists before Docker Compose processes env_file entries
6- "initializeCommand" : " cd \" ${localWorkspaceFolder}\" && bash .devcontainer/ensure-env.sh" ,
6+ "initializeCommand" : " bash \" ${localWorkspaceFolder}/ .devcontainer/ensure-env.sh\" " ,
77
88 // Start the Postgres sidecar using the existing compose file
99 "dockerComposeFile" : [
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ services:
33 image : mcr.microsoft.com/devcontainers/python:3.13-bookworm
44 container_name : fastapi-jinja2-postgres-webapp-app
55 volumes :
6- - ..:/workspaces/fastapi-jinja2-postgres-webapp :cached
7- working_dir : /workspaces/fastapi-jinja2-postgres-webapp
6+ - ..:/workspaces/${localWorkspaceFolderBasename} :cached
7+ working_dir : /workspaces/${localWorkspaceFolderBasename}
88 depends_on :
99 - db
1010 command : sleep infinity
You can’t perform that action at this time.
0 commit comments