alles auf Module (import) umgeschrieben

This commit is contained in:
rxf
2026-01-16 16:24:41 +01:00
parent ec953b0ae6
commit 72c806be24
9 changed files with 179 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:alpine
ADD package.json /tmp
RUN cd /tmp && npm install
@@ -8,12 +8,7 @@ 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 touch cmds.sh \
&& echo 'npm start' >>cmds.sh
EXPOSE 3014
CMD sh ./cmds.sh
CMD ["npm", "start"]