update dev container

This commit is contained in:
Riccardo Balbo 2025-06-09 17:24:41 +02:00
commit 0baeaadb24
2 changed files with 2 additions and 3 deletions

View file

@ -1,9 +1,7 @@
{ {
"name": "lnbits_nwc_provider", "name": "lnbits_nwc_provider",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12", "image": "mcr.microsoft.com/devcontainers/python:1-3.12",
"features": {
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
},
"mounts": [ "mounts": [
"source=${localWorkspaceFolder}/.devcontainer/start.sh,target=/start-lnbits.sh,type=bind", "source=${localWorkspaceFolder}/.devcontainer/start.sh,target=/start-lnbits.sh,type=bind",
"source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind", "source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind",

View file

@ -5,6 +5,7 @@ sudo apt update -y
sudo apt install -y curl sudo apt install -y curl
sudo apt-get install -y docker.io sudo apt-get install -y docker.io
curl -sSL https://install.python-poetry.org | python3 -
curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh
sudo bash /tmp/nodesource_setup.sh sudo bash /tmp/nodesource_setup.sh
sudo apt-get install -y nodejs sudo apt-get install -y nodejs