mtfosbot/Dockerfile
2018-08-17 22:39:19 +08:00

12 lines
295 B
Docker

FROM node:8-alpine
LABEL maintainer="Jay <admin@trj.tw>"
ENV NODE_PORT 5111
RUN mkdir -p /data
WORKDIR /data
COPY . .
RUN rm -f .env
RUN apk update && \
apk add imagemagick graphicsmagick git curl wget bash mc build-base python
RUN npm install
EXPOSE ${NODE_PORT}
CMD ["npm", "run", "dbrun"]