Update Dockerfile

This commit is contained in:
Dennis Reimann 2026-02-23 10:52:12 +01:00
parent c05da5c441
commit 37a7fad067
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -1,11 +1,11 @@
FROM node:14-buster-slim AS builder
FROM node:24-slim AS builder
WORKDIR /build
RUN apt-get update
RUN apt-get install -y git python3 build-essential
COPY . .
RUN npm ci --production
FROM node:14-buster-slim
FROM node:24-slim
WORKDIR /build
RUN apt-get update
RUN apt-get install -y firefox-esr pngcrush jo jq torsocks curl cron
@ -16,7 +16,6 @@ RUN service cron start
EXPOSE 3030
CMD ["npm", "start"]
# docker build -t kindle-display .
# docker build --load -t kindle-display .
# docker run --name kindle-display -p 3030:3030 -it kindle-display
# docker exec -it kindle-display bash