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:
+3
-6
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user