obs-portal/Dockerfile

12 lines
167 B
Docker
Raw Permalink Normal View History

FROM node:14
WORKDIR /opt/obsAPI
ADD package.json package-lock.json /opt/obsAPI/
RUN npm ci
2020-11-28 18:17:19 +00:00
ADD src /opt/obsAPI/src/
EXPOSE 8080
ENV PORT=8080
CMD ["npm", "start"]