feat: add Docker support with multi-stage build, compose configuration, and standalone output mode

This commit is contained in:
Michael committed 2026-04-10 10:01:55 +02:00
1 parent b73aa8616b
commit 6c0aef1d88
5 files changed
+108 -1

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
services:
menu-app:
build:
context: .
dockerfile: Dockerfile
container_name: menu-professional
ports:
- "3214:3214"
volumes:
- ./.env:/app/.env
- menu_db:/app/prisma
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/prisma/dev.db
- PORT=3214
networks:
- nginx_default
restart: always
networks:
nginx_default:
external: true
volumes:
menu_db:
driver: local