mtfosbot/Dockerfile
2018-06-25 18:07:10 +08:00

10 lines
192 B
Docker

FROM node:8
LABEL maintainer="Jay <jie.chen@tw.viewsonic.com>"
ENV NODE_PORT 5111
RUN mkdir -p /data
WORKDIR /data
COPY . .
RUN rm .env
RUN npm install
EXPOSE ${NODE_PORT}
CMD ["npm", "start"]