1 Star 0 Fork 22

杜森/aquar-home

forked from firemaker/aquar-home 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile_alpine 842 Bytes
一键复制 编辑 原始数据 按行查看 历史
ARG NPM_REGISTRY=https://registry.npm.taobao.org
FROM node:14-alpine as builder
ARG NPM_REGISTRY
WORKDIR /app/aquar_home/aquar_home_front
COPY ./aquar_home_front/ ./
RUN npm install --registry ${NPM_REGISTRY} && npm run build
WORKDIR /app/aquar_home/aquar_home_server
COPY ./aquar_home_server/ ./
RUN npm install --unsafe-perm --registry ${NPM_REGISTRY}
WORKDIR /app/aquar_home
RUN rm -rf ./aquar_home_server/public/ && mkdir -p aquar_home_server/public/ && cp -r ./aquar_home_front/dist/* ./aquar_home_server/public/ && apk add --no-cache rsync && apk add --no-cache python3 && npm install -g pm2
EXPOSE 8172
VOLUME ["/var/aquardata"]
VOLUME ["/opt/aquarpool"]
VOLUME ["/root/.pm2/logs"]
CMD ["/bin/sh", "-c", "cd /app/aquar_home/aquar_home_server/ && mkdir -p /var/aquardata/log/ && npm run dcprd > /var/aquardata/log/aquar_home.log 2>&1"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dooson/aquar-home.git
[email protected]:dooson/aquar-home.git
dooson
aquar-home
aquar-home
master

搜索帮助