reorganize

This commit is contained in:
2025-10-27 14:43:57 +05:00
parent 51a3308f8c
commit 2cc3114b45
7 changed files with 0 additions and 27 deletions

View File

@@ -1 +0,0 @@
/etc/nginx/sites-available/backend.local.conf

View File

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View File

@@ -1,26 +0,0 @@
FROM golang:1.25.3 AS build-stage
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /srv.bin
from build-stage AS run-tests-stage
RUN go test -v ./
FROM gcr.io/distroless/base-debian11 AS build-release-stage
WORKDIR /
COPY --from=build-stage /srv.bin /srv.bin
EXPOSE 8080/tcp
USER nonroot:nonroot
ENTRYPOINT ["/srv.bin"]