Dockerfile und build_and_copy angepasst

Versionsdatum angepasst
Readme dazu
in chart_utilities in den global opts ein 'useHTML' dazu
This commit is contained in:
2024-12-20 15:39:15 +00:00
parent 78cd1b11d7
commit 3473ebc9a9
5 changed files with 32 additions and 9 deletions
+3 -6
View File
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:23-alpine
ADD package.json /tmp/package.json
RUN cd /tmp && npm install
@@ -7,15 +7,12 @@ WORKDIR /opt/app
ADD . /opt/app/
RUN apk add --no-cache tzdata
ENV TZ Europe/Berlin
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN deluser --remove-home node
RUN touch cmds.sh \
&& echo 'npm start' >>cmds.sh
EXPOSE 3000
CMD sh ./cmds.sh
CMD ["npm", "start"]