Add .devcontainer + minor changes
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good

This commit is contained in:
Roman Jaroš 2023-12-22 17:48:27 +00:00
parent 99831ff824
commit 8aeff18162
16 changed files with 59 additions and 23 deletions

View file

@ -0,0 +1 @@
FROM local/nodejs/dev:18

View file

@ -0,0 +1,7 @@
{
"name": "$(appName)",
"workspaceFolder": "/home/project/$(appName)",
"dockerComposeFile": "docker-compose.yml",
"service": "$(appName)",
"postCreateCommand": "sudo chown iamuser:iamuser -R /home/project",
}

View file

@ -0,0 +1,18 @@
version: "3"
name: $(appName)
volumes:
node_modules:
pnpm-store:
services:
seedling:
build:
context: .
container_name: $(appName)
volumes:
- ../:/home/project/$(appName)
- node_modules:/home/project/seedling/node_modules
- pnpm-store:/home/project/seedling/.pnpm-store
command: sleep infinity