mtfosbot/Dockerfile

10 lines
189 B
Docker
Raw Normal View History

2018-06-25 10:07:10 +00:00
FROM node:8
LABEL maintainer="Jay <admin@trj.tw>"
2018-06-25 10:07:10 +00:00
ENV NODE_PORT 5111
RUN mkdir -p /data
WORKDIR /data
COPY . .
RUN rm -f .env
2018-06-25 10:07:10 +00:00
RUN npm install
EXPOSE ${NODE_PORT}
CMD ["npm", "run", "dbrun"]