From e3024c6f719665986e6b099dfdbc93cde3953ae2 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 5 Dec 2024 17:35:16 +0800 Subject: [PATCH] updaste --- Dockerfile-prd | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile-prd b/Dockerfile-prd index ca8a58f..63cb631 100644 --- a/Dockerfile-prd +++ b/Dockerfile-prd @@ -6,7 +6,6 @@ FROM registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/golang:1.18.4 as build ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn,direct ENV TZ="Asia/Shanghai" -ENV PHONE_DATA_DIR="./static/bat" # 设置工作区 WORKDIR /go/release @@ -17,12 +16,10 @@ ADD . . RUN GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -tags netgo -ldflags="-s -w" -installsuffix cgo -o egg main.go FROM ubuntu:xenial as prod -LABEL maintainer="zengzhengrong" +LABEL maintainer="dengbiao" ENV TZ="Asia/Shanghai" -ENV PHONE_DATA_DIR="./static/bat" COPY static/html static/html -COPY static/bat static/bat # 时区纠正 RUN rm -f /etc/localtime \ && ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \