9 lines
216 B
Docker
9 lines
216 B
Docker
FROM node:alpine
|
|
RUN apk add git
|
|
|
|
WORKDIR /service
|
|
RUN git clone https://gitea.frontblock.me/fb-dist/admin.git .
|
|
COPY node_modules /service/node_modules
|
|
|
|
EXPOSE 8080 20000
|
|
ENTRYPOINT ["node", "FrontblockAdmin.js"] |