修正dockerfile
This commit is contained in:
@@ -15,7 +15,7 @@ ADD go.sum .
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
COPY apps/user/etc /app/etc
|
||||
RUN go build -ldflags="-s -w" -o /app/user apps/user/.\user.go
|
||||
RUN go build -ldflags="-s -w" -o /app/user apps/user/user.go
|
||||
|
||||
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user