fix: update devcontainer

This commit is contained in:
Mythie
2023-09-09 15:44:10 +10:00
parent 0f3db459cb
commit 90bacea7ed
3 changed files with 4 additions and 3 deletions

View File

@ -10,6 +10,7 @@
"ghcr.io/devcontainers/features/node:1": {}
},
"onCreateCommand": "./.devcontainer/on-create.sh",
"postStartCommand": "./.devcontainer/post-start.sh",
"forwardPorts": [
3000,
54320,

View File

@ -16,6 +16,3 @@ set +a
# Run the migrations
npm run -w @documenso/prisma prisma:migrate-dev
# Start the app
npm run dev

3
.devcontainer/post-start.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
npm run dev