add Dockerfile

This commit is contained in:
2026-04-14 10:59:49 +00:00
parent 797d8b6769
commit e7294552c9

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Abhängigkeiten für Chromium und Node.js installieren
RUN apk add --no-cache \
nodejs \
npm \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates \
ttf-freefont
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
# Start-Skript ausführbar machen
RUN chmod a+x /app/run.sh
CMD [ "/app/run.sh" ]