build: update Docker configuration with chromium and compose setup
This commit is contained in:
+8
-1
@@ -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
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y chromium && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
RUN bun install --production
|
RUN bun install --production
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
Reference in New Issue
Block a user