mirror of
https://github.com/R0m1k3/Menu.git
synced 2026-10-11 17:28:28 +02:00
feat: add Docker support with multi-stage build, compose configuration, and standalone output mode
This commit is contained in:
1 parent
b73aa8616b
commit
6c0aef1d88
5 files changed
+108
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user