feat: add initial project setup and configuration files
This commit is contained in:
11
dev.sh
Executable file
11
dev.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
set -eu
|
||||
|
||||
docker build --platform linux/amd64 -t dr.zoemp.be/my-custom-app:$(cat VERSION) -f Dockerfile.cloudron .
|
||||
docker run --platform linux/amd64 --rm -it -v "$(pwd)/data:/app/data/" -p 3000:3000 dr.zoemp.be/my-custom-app:$(cat VERSION)
|
||||
|
||||
# Optionnel : test d'API locale après boot
|
||||
# sleep 2
|
||||
# curl http://localhost:3000/search?q=test || echo "API failed (normal si pas de data mock)"
|
||||
|
Reference in New Issue
Block a user