mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 16:51:38 +10:00
fix: update devcontainer
This commit is contained in:
@ -10,6 +10,7 @@
|
|||||||
"ghcr.io/devcontainers/features/node:1": {}
|
"ghcr.io/devcontainers/features/node:1": {}
|
||||||
},
|
},
|
||||||
"onCreateCommand": "./.devcontainer/on-create.sh",
|
"onCreateCommand": "./.devcontainer/on-create.sh",
|
||||||
|
"postStartCommand": "./.devcontainer/post-start.sh",
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
3000,
|
3000,
|
||||||
54320,
|
54320,
|
||||||
|
|||||||
@ -16,6 +16,3 @@ set +a
|
|||||||
|
|
||||||
# Run the migrations
|
# Run the migrations
|
||||||
npm run -w @documenso/prisma prisma:migrate-dev
|
npm run -w @documenso/prisma prisma:migrate-dev
|
||||||
|
|
||||||
# Start the app
|
|
||||||
npm run dev
|
|
||||||
|
|||||||
3
.devcontainer/post-start.sh
Executable file
3
.devcontainer/post-start.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
npm run dev
|
||||||
Reference in New Issue
Block a user