Alles erst mal soweit fertig

This commit is contained in:
rxf
2023-05-03 20:24:05 +02:00
parent 7f6cfee1ff
commit f947b32c71
8 changed files with 94 additions and 46 deletions

19
Dockerfile_spritzschema Normal file
View File

@@ -0,0 +1,19 @@
FROM node:9-alpine
ADD package.json /tmp
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
WORKDIR /opt/app
ADD . /opt/app
RUN apk add --no-cache tzdata
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