Skip to content

Commit

Permalink
Revert "Update devcontainer.json (#147)" (#148)
Browse files Browse the repository at this point in the history
This reverts commit 9ce7d18.
  • Loading branch information
hbrooks authored Dec 19, 2023
1 parent 9ce7d18 commit f708ad0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 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,14 +31,16 @@
"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"
},

"onCreateCommand": "yarn install --frozen-lockfile",
"postCreateCommand": "nohup bash -c 'bb listener start . &'",
// 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",

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

0 comments on commit f708ad0

Please sign in to comment.