mirror of
https://github.com/arthur-pbty/reducelink.git
synced 2026-06-03 15:07:36 +02:00
20 lines
503 B
YAML
20 lines
503 B
YAML
services:
|
|
reducelink:
|
|
image: node:20-alpine
|
|
container_name: reducelink
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=development
|
|
- DATABASE_URL=file:./prisma/dev.db
|
|
- NEXT_PUBLIC_BASE_URL=http://localhost:3000
|
|
command: sh -c "npm install && npx prisma generate && npx prisma migrate dev --name init && npm run dev"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
node_modules:
|