THM_OSPLUS_NEWS_MAILER/Dockerfile
Fabian Stamm 87e33a3bd0
All checks were successful
continuous-integration/drone/push Build is passing
Adding CI and updating dependencies
2020-01-07 22:32:08 +01:00

22 lines
366 B
Docker

FROM node:12
LABEL maintainer="Fabian Stamm <dev@fabianstamm.de>"
RUN apt-get update
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENV NODE_ENV=production
COPY ["package.json", "package-lock.json", "/usr/src/app/"]
RUN npm install
COPY lib/ /usr/src/app/lib
VOLUME [ "/usr/src/app/logs", "/usr/src/app/persist"]
EXPOSE 3006/tcp
CMD ["npm", "run", "start"]