Skip to content

Commit

Permalink
Update devcontainer.json (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrooks authored Dec 19, 2023
1 parent 7c8e47b commit 9ce7d18
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "TalkForm",

"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
// https://community.doppler.com/t/vscode-container-support/104
// https://community.doppler.com/t/doppler-and-github-codespaces/989/2
"containerEnv": {
Expand Down Expand Up @@ -31,16 +31,14 @@
"requireLocalPort": true
}
},
"postStartCommand": "nohup bash -c 'ellipsis listener start . &'", // This allows Ellipsis to write file changes in the codespace.

"remoteEnv": {
// Present because this repository is for internal testing.
"ELLIPSIS_API_URL": "https://bitbuilder-beta.up.railway.app"
},

// TODO can't get the yarn install within Dockerfile to show up in dev container.
// This also seems to be what the Microsoft example devcontainers do.
"postCreateCommand": "yarn install --frozen-lockfile",
"onCreateCommand": "yarn install --frozen-lockfile",
"postCreateCommand": "nohup bash -c 'bb listener start . &'",

// Configure tool-specific properties.
"customizations": {
Expand Down

0 comments on commit 9ce7d18

Please sign in to comment.