修正dockerfile

This commit is contained in:
2024-10-02 02:36:34 +08:00
parent 42e5d3df84
commit ab842d8694
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ ADD go.sum .
RUN go mod download
COPY . .
COPY apps/mqs/etc /app/etc
RUN go build -ldflags="-s -w" -o /app/main apps/mqs/.\main.go
RUN go build -ldflags="-s -w" -o /app/main apps/mqs/main.go
FROM scratch