Add Dockerfile and compose.yaml for containerized application setup

This commit is contained in:
2025-11-27 21:05:48 +01:00
parent dbd6aeb11c
commit f5d6e1fce6
2 changed files with 24 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:25-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
RUN npm i -g serve
COPY . .
EXPOSE 3000
CMD [ "serve", "-s", "dist" ]

8
compose.yaml Normal file
View File

@@ -0,0 +1,8 @@
services:
lumina:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
restart: unless-stopped