Skip to content

Commit

Permalink
fix: 修复docker、文档错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xyfacai committed Jun 17, 2024
1 parent 1baf3fb commit 28dd430
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM golang AS builder

ENV GO111MODULE=on \
GOOS=linux \
GOPROXY=https://goproxy.cn,direct
GOPROXY=https://goproxy.cn,direct \
CGO_ENABLED=0

WORKDIR /build
ADD go.mod go.sum ./
Expand All @@ -14,11 +15,10 @@ FROM alpine:latest

RUN apk update \
&& apk upgrade \
&& apk add --no-cache ca-certificates tzdata gcc \
&& update-ca-certificates 2>/dev/null || true
&& apk add --no-cache ca-certificates tzdata gcc

COPY --from=builder /build/lumaApi /

EXPOSE 8000

ENTRYPOINT ["/lumaApi"]
RUN ./lumaApi
Binary file modified README.md
Binary file not shown.
Binary file modified README_ZH.md
Binary file not shown.

0 comments on commit 28dd430

Please sign in to comment.