mirror of
https://github.com/arthur-pbty/reducelink.git
synced 2026-06-03 15:07:36 +02:00
19 lines
528 B
YAML
19 lines
528 B
YAML
services:
|
|
reducelink:
|
|
image: node:20-alpine
|
|
container_name: reducelink
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
ports:
|
|
- "3006:3000"
|
|
environment:
|
|
- DATABASE_URL=file:./dev.db
|
|
- NEXT_PUBLIC_BASE_URL=https://reducelink.arthurp.fr
|
|
command: sh -c "apk add --no-cache openssl libc6-compat && npm install && npx prisma generate && npx prisma migrate deploy && npm run build && npm run start"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
node_modules:
|