1 Star 0 Fork 389

Yangyb23/SimpleDocker

forked from Taoes/SimpleDocker
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 731 Bytes
一键复制 编辑 原始数据 按行查看 历史
# 网络问题导致构建失败,临时注释,有时间优化此问题
#FROM node:12-alpine AS ui-builder
#ARG HOST=127.0.0.1
#ARG PORT=9000
##ENV VUE_APP_API_HOST ${HOST}
#ENV VUE_APP_API_PORT ${PORT}
#WORKDIR /ui
#COPY ./ui/. .
#RUN npm install && \
#npm run build
#FROM golang:1.15-alpine AS api-builder
#WORKDIR /api
#COPY . .
#RUN export GOPROXY="https://mirrors.aliyun.com/goproxy/" && \
#export GO111MODULE=on && \
#apk --no-cache add gcc musl-dev && \
#go mod tidy && \
#go build -trimpath -o bin/SimpleDocker App.go && \
#chmod a+x bin/SimpleDocker
FROM alpine
LABEL maintainer="zhoutao825638@vip.qq.com, k8scat@gmail.com"
COPY ./build /app/SimpleDocker/
CMD /app/SimpleDocker/App -port 4050 -redis-addr redis:6379
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yangyb23/SimpleDocker.git
git@gitee.com:yangyb23/SimpleDocker.git
yangyb23
SimpleDocker
SimpleDocker
refact

搜索帮助

D67c1975 1850385 1daf7b77 1850385