Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

adding more commands

Arpit Vasani6e22fecc98c7
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 4765fcea1f..f898e88270 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -14,13 +14,11 @@
// Set *default* container specific settings.json values on container create.
"settings": {},
// Add the IDs of extensions you want installed when the container is created.
- "extensions": [
- "dbaeumer.vscode-eslint"
- ],
+ "extensions": ["dbaeumer.vscode-eslint", "svelte.svelte-vscode"],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
- // "forwardPorts": [],
+ "forwardPorts": [3000],
// Use 'postCreateCommand' to run commands after the container is created.
- "postCreateCommand": "cp .env.template .env && pnpm install",
+ "postCreateCommand": "cp .env.template .env && pnpm install && pnpm db:push && pnpm db:seed",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"features": {