♻️ Refactored tracing system to cost less memory

This commit is contained in:
2025-01-14 17:22:23 +08:00
parent 5ccbc592b7
commit ee8b7e5660
12 changed files with 70 additions and 35 deletions

View File

@ -3,7 +3,7 @@ FROM golang:alpine as roadsign-server
WORKDIR /source
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/server/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/main.go
# Runtime
FROM golang:alpine
@ -14,4 +14,4 @@ COPY --from=roadsign-server /dist /roadsign/server
EXPOSE 81
CMD ["/roadsign/server"]
CMD ["/roadsign/server"]