1 Star 0 Fork 242

jarodyao/thingspanel-backend-community

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 388 Bytes
一键复制 编辑 原始数据 按行查看 历史
hezhuozhuo 提交于 2024-06-04 23:39 . v1.0.0 commit
# syntax=docker/dockerfile:1
FROM golang:alpine AS builder
WORKDIR $GOPATH/src/app
ADD . ./
ENV GO111MODULE=on
ENV GOPROXY="https://goproxy.io"
RUN go build -o ThingsPanel-Go .
FROM alpine:latest
WORKDIR /go/src/app
RUN apk update && apk add --no-cache tzdata
COPY --from=builder /go/src/app .
EXPOSE 9999
RUN chmod +x ThingsPanel-Go
RUN pwd
RUN ls -lrt
ENTRYPOINT [ "./ThingsPanel-Go" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/jarodyao/thingspanel-backend-community.git
git@gitee.com:jarodyao/thingspanel-backend-community.git
jarodyao
thingspanel-backend-community
thingspanel-backend-community
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385