chore: Reduce steps to spin up Codespaces (#2576)

This commit is contained in:
Sojan Jose
2021-07-06 21:21:40 +05:30
committed by GitHub
parent 104ae8de2e
commit bbc47971d7
3 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@
// Use 'postCreateCommand' to run commands after the container is created.
// #TODO: can we move logic of copy env file into dockerfile ?
"postCreateCommand": "cp .env.example .env",
"postCreateCommand": ".devcontainer/scripts/setup.sh && bundle exec rake db:chatwoot_prepare && yarn",
"portsAttributes": {
"3000": {
"label": "Rails Server"