Skip to content

Commit

Permalink
devcontainer: add postAttachCommand, onCreateCommand, postStartComman…
Browse files Browse the repository at this point in the history
…d, postCreateCommand, initializeCommand, and updateContentCommand to provide instructions and guidance for developers when running the dev container.
  • Loading branch information
hakatashi committed Oct 5, 2024
1 parent 7cb925d commit 9f29c28
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
"runServices": [
"slackbot",
"tunnel"
]
],
"postAttachCommand": "docker logs slackbot_devcontainer-tunnel-1 && docker attach slackbot_devcontainer-tunnel-1",
"onCreateCommand": "echo 'onCreate: Please run `docker-compose up` to start the services.'",
"postStartCommand": "echo 'postStart: Please run `docker-compose up` to start the services.'",
"postCreateCommand": "echo 'postCreate: Please run `docker-compose up` to start the services.'",
"initializeCommand": "echo 'initialize: Please run `docker-compose up` to start the services.'",
"updateContentCommand": "echo 'updateContent: Please run `docker-compose up` to start the services.'"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down

0 comments on commit 9f29c28

Please sign in to comment.