4 Star 13 Fork 4

xuri/aurora

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 415 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM golang:alpine AS builder
RUN \
apk -U upgrade --no-cache && \
apk add --no-cache build-base git
COPY . /tmp/aurora
RUN \
cd /tmp/aurora && \
go build
FROM alpine
COPY --from=builder /tmp/aurora/aurora /usr/bin/
COPY --from=builder /tmp/aurora/aurora.toml /etc/
RUN \
sed -i "s/127.0.0.1/0.0.0.0/g" /etc/aurora.toml
EXPOSE 3000
ENTRYPOINT ["/usr/bin/aurora", "-c", "/etc/aurora.toml"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/xurime/aurora.git
[email protected]:xurime/aurora.git
xurime
aurora
aurora
master

搜索帮助