104 Star 1.5K Fork 456

GVPPandaX物联网平台/PandaX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 485 Bytes
一键复制 编辑 原始数据 按行查看 历史
PandaX 提交于 2024-11-12 08:04 . update Dockerfile.
FROM golang:1.23.0-alpine AS builder
WORKDIR /app
COPY . .
RUN go env -w GOPROXY=https://goproxy.cn,direct && go mod download
RUN go build -o pandax
FROM alpine:latest
LABEL MAINTAINER="PandaX"
WORKDIR /pandax
COPY --from=builder /app/pandax ./
COPY --from=builder /app/config.yml ./
COPY --from=builder /app/resource ./resource
COPY --from=builder /app/uploads ./uploads
RUN chmod 755 ./pandax
EXPOSE 7788
EXPOSE 9001
EXPOSE 9002
EXPOSE 9003
EXPOSE 9003/udp
ENTRYPOINT ./pandax
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/XM-GO/PandaX.git
git@gitee.com:XM-GO/PandaX.git
XM-GO
PandaX
PandaX
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385