build: update Docker configuration with chromium and compose setup

This commit is contained in:
2026-05-13 10:31:43 +02:00
parent 7c07454e7a
commit b69d830fc8
2 changed files with 20 additions and 1 deletions
+8 -1
View File
@@ -1,7 +1,14 @@
FROM bun:latest
FROM oven/bun:latest
LABEL org.opencontainers.image.source="https://gitea.bigoscloud.com/biggy/samsung-tv-server" \
org.opencontainers.image.title="Samsung TV Server" \
org.opencontainers.image.description="Samsung TV Server — Bun runtime" \
org.opencontainers.image.licenses="MIT"
WORKDIR /app
RUN apt-get update && apt-get install -y chromium && rm -rf /var/lib/apt/lists/*
COPY package.json bun.lock ./
RUN bun install --production
+12
View File
@@ -0,0 +1,12 @@
services:
samsung-tv-server:
image: gitea.bigoscloud.com/biggy/samsung-tv-server:latest
build: .
ports:
- "3099:3099"
volumes:
- views_db:/app/data
restart: unless-stopped
volumes:
views_db: