♻️ Refactored tracing system to cost less memory
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user