diff --git a/go.mod b/backend/go.mod similarity index 100% rename from go.mod rename to backend/go.mod diff --git a/go.sum b/backend/go.sum similarity index 100% rename from go.sum rename to backend/go.sum diff --git a/main.go b/backend/main.go similarity index 100% rename from main.go rename to backend/main.go diff --git a/nginx/sites-enabled/backend.local.conf b/nginx/sites-enabled/backend.local.conf deleted file mode 120000 index 4684b38..0000000 --- a/nginx/sites-enabled/backend.local.conf +++ /dev/null @@ -1 +0,0 @@ -/etc/nginx/sites-available/backend.local.conf \ No newline at end of file diff --git a/nginx/sites-available/backend.local.conf b/nginx/templates/sites-available/backend.local.conf.template similarity index 100% rename from nginx/sites-available/backend.local.conf rename to nginx/templates/sites-available/backend.local.conf.template diff --git a/cat.png b/static/cat.png similarity index 100% rename from cat.png rename to static/cat.png diff --git a/sxdgdxfgdsfg b/sxdgdxfgdsfg deleted file mode 100644 index 88b3594..0000000 --- a/sxdgdxfgdsfg +++ /dev/null @@ -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"] \ No newline at end of file