Simplify local dev (#137)
This commit is contained in:
@ -1,16 +1,10 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
|
||||
{
|
||||
"name": "Twenty",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
|
||||
{
|
||||
"name": "Twenty Codespace",
|
||||
"image": "node:18.16.0",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
||||
"version": "20.10",
|
||||
"enableNonRootDocker": "true",
|
||||
"moby": "true"
|
||||
}
|
||||
"ghcr.io/devcontainers-contrib/features/jshint:2": {}
|
||||
},
|
||||
"postCreateCommand": ".devcontainer/init.sh",
|
||||
"postStartCommand": ".vscode/up.sh"
|
||||
}
|
||||
"forwardPorts": [3000, 3001, 5432],
|
||||
"postCreateCommand": "cd front && npm install && cd ../server && npm install"
|
||||
}
|
||||
@ -2,5 +2,6 @@
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y postgresql-client
|
||||
cd infra/dev
|
||||
make build
|
||||
make up
|
||||
Reference in New Issue
Block a user