add form site

This commit is contained in:
Puechberty Arthur
2026-03-02 13:38:13 +01:00
parent c6d7ce8900
commit 1611ad7440
43 changed files with 2805 additions and 97 deletions
+19
View File
@@ -0,0 +1,19 @@
services:
formcraft:
image: node:20-alpine
container_name: formcraft
working_dir: /app
volumes:
- .:/app
- node_modules:/app/node_modules
- formcraft_data:/app/data
ports:
- "3008:3000"
environment:
- DATABASE_URL=file:./data/dev.db
command: sh -c "apk add --no-cache openssl && npm install --include=dev && npx prisma generate && npx prisma migrate deploy && npm run build && NODE_ENV=production npm start"
restart: unless-stopped
volumes:
node_modules:
formcraft_data: