🐳 完善Dockerfile

This commit is contained in:
李寻欢 2021-09-07 13:41:33 +08:00
parent 112a67a6cb
commit 200820df93

View File

@ -12,7 +12,7 @@ WORKDIR /builder
COPY . .
RUN go mod download && go build -o app
RUN ls -lh && chmod +x ./app
FROM golang:alpine as runner
FROM alpine as runner
MAINTAINER LiXunHuan(lxh@cxh.cn)
WORKDIR /app
ENV TZ=Asia/Shanghai