Skip to content

Commit

Permalink
Use .env with dev containers
Browse files Browse the repository at this point in the history
  • Loading branch information
lukynmatuska committed Sep 18, 2024
1 parent 686dd38 commit cb7b815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements.txt",
"runArgs": [
"--env-file",
".env"
],
"containerEnv": {
"CORS_ORIGINS": "[\"*\"]"
},
Expand Down

0 comments on commit cb7b815

Please sign in to comment.