feat: add Docker configuration with production-ready setup

This commit is contained in:
Julien Froidefond
2025-02-12 14:24:47 +01:00
parent c820644301
commit 52283e3155
3 changed files with 58 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: stripstream-app
ports:
- "3000:3000"
volumes:
- .:/app
- /app/node_modules
- /app/.next
environment:
- NODE_ENV=development
- NEXT_PUBLIC_API_URL=https://mysite.com
command: npm run dev