0.2.55 - Remote config/Request fixes
This commit is contained in:
+2
-1
@@ -8,7 +8,7 @@ COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN mkdir -p /out/releases
|
||||
RUN mkdir -p /out/releases /out/logs
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -buildvcs=false \
|
||||
-ldflags="-s -w" -o /out/memby-server ./cmd/memby-server
|
||||
|
||||
@@ -18,6 +18,7 @@ FROM gcr.io/distroless/static-debian12:nonroot
|
||||
WORKDIR /app
|
||||
COPY --from=build /out/memby-server /app/memby-server
|
||||
COPY --from=build --chown=nonroot:nonroot /out/releases /data/releases
|
||||
COPY --from=build --chown=nonroot:nonroot /out/logs /data/logs
|
||||
EXPOSE 8080
|
||||
USER nonroot:nonroot
|
||||
ENTRYPOINT ["/app/memby-server"]
|
||||
|
||||
Reference in New Issue
Block a user