OpenAuth_server/Dockerfile
Fabian Stamm 6b4ad81940
All checks were successful
continuous-integration/drone/push Build is passing
Adding a popup authentication option.
2020-10-28 05:11:47 +01:00

26 lines
531 B
Docker

FROM node:12
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
COPY ["package.json", "package-lock.json", "tsconfig.json", "/usr/src/app/"]
ENV NODE_ENV=production
RUN npm install
COPY lib/ /usr/src/app/lib
COPY views/out /usr/src/app/views/out/
COPY views_repo/build /usr/src/app/views_repo/build
VOLUME [ "/usr/src/app/logs", "/usr/src/app/keys"]
EXPOSE 3004/tcp
CMD ["npm", "run", "start"]