Simplify local dev setup, update CONTRIBUTING.md and recommend running scripts with node --run

This commit is contained in:
Alejandro Celaya
2024-10-26 13:09:00 +02:00
parent 83ca5b23f5
commit 4c74aec703
5 changed files with 22 additions and 35 deletions

View File

@@ -1,7 +1,8 @@
services:
shlink_web_client_node:
container_name: shlink_web_client_node
image: node:22.3-alpine
user: 1000:1000 # With this, files created via `indocker` script will belong to the host user
image: node:22.10-alpine
command: /bin/sh -c "cd /home/shlink/www && npm install && npm run start"
volumes:
- ./:/home/shlink/www