Switching to new security rules
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Fabian Stamm
2020-10-28 01:00:39 +01:00
parent b3465ea96d
commit 22cb90b6f6
18 changed files with 1094 additions and 301 deletions

View File

@ -1,4 +1,4 @@
FROM node:12
FROM node:14
LABEL maintainer="Fabian Stamm <dev@fabianstamm.de>"
@ -8,6 +8,8 @@ LABEL maintainer="Fabian Stamm <dev@fabianstamm.de>"
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN npm config set registry https://npm.hibas123.de/
ENV NODE_ENV=production
COPY ["package.json", "package-lock.json", "/usr/src/app/"]
@ -20,4 +22,4 @@ VOLUME [ "/usr/src/app/databases", "/usr/src/app/logs" ]
EXPOSE 5000/tcp
CMD ["npm", "run", "start"]
CMD ["npm", "run", "start"]