65 Star 509 Fork 201

ThingsPanel / thingspanel-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 368 Bytes
一键复制 编辑 原始数据 按行查看 历史
hezhuozhuo 提交于 2023-10-17 14:14 . docker打包修改
# 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
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" ]
Go
1
https://gitee.com/ThingsPanel/thingspanel-go.git
git@gitee.com:ThingsPanel/thingspanel-go.git
ThingsPanel
thingspanel-go
thingspanel-go
main

搜索帮助