self update and serve static/dist

This commit is contained in:
peter
2019-08-28 00:24:30 +02:00
parent fc0bae15ed
commit 997ae629b6
5 changed files with 15 additions and 116 deletions
+1 -2
View File
@@ -2,8 +2,7 @@ FROM node:alpine
RUN apk add git
WORKDIR /service
COPY dist /service/dist
COPY node_modules /service/node_modules
RUN git clone https://gitea.frontblock.me/fb-dist/admin.git dist
EXPOSE 8080 20000
ENTRYPOINT ["node", "dist/FrontblockAdmin.js"]