Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
docker打包修改
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhuozhuo committed Oct 17, 2023
1 parent d9009fe commit b39e148
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ ENV GOPROXY="https://goproxy.io"
RUN go build

FROM alpine:latest
ENV TP_PG_IP=172.19.0.4
ENV TP_PG_PORT=5432
ENV TP_MQTT_HOST=172.19.0.5:1883
ENV MQTT_HTTP_HOST=172.19.0.5:8083
ENV TP_REDIS_HOST=172.19.0.6:6379
ENV PLUGIN_HTTP_HOST=172.19.0.8:503
WORKDIR /go/src/app
RUN apk update && apk add --no-cache tzdata
COPY --from=builder /go/src/app .
Expand Down

0 comments on commit b39e148

Please sign in to comment.