FROM alpine:3.9 
RUN apk add npm git nodejs

RUN git clone https://gitea.frontblock.me/fb-dist/admin.git dist

EXPOSE 8080 20000
ENTRYPOINT ["node", "dist/FrontblockAdmin.js"]