Funktioniert - im Docker

This commit is contained in:
2019-04-04 19:49:32 +02:00
parent 0fe884c90a
commit 0af306aafb
4 changed files with 68 additions and 2 deletions

16
Dockerfile_laufschrift Normal file
View File

@@ -0,0 +1,16 @@
FROM node:9-alpine
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 3011
CMD sh ./cmds.sh