Skip to content

Commit

Permalink
fix: create .env files on initializeCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
weaponsforge committed Feb 21, 2025
1 parent 6f618c4 commit 0fb2b9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"eamodio.gitlens",
"mongodb.mongodb-vscode"
],
"postCreateCommand": "cp client/.env.example client/.env && cp server/.env.example server/.env && docker compose -f docker-compose.dev.yml build",
"initializeCommand": "cp client/.env.example client/.env && cp server/.env.example server/.env",
"postCreateCommand": "docker compose -f ../docker-compose.dev.yml build",
"remoteEnv": {
"NODE_ENV": "development"
},
Expand Down

0 comments on commit 0fb2b9a

Please sign in to comment.