diff --git a/Dockerfile b/Dockerfile index 55c9988..2d69143 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -#ghcr.io/marcschaeferger/newt-private:1.0.0-otel -#tademsh/newt:1.0.0-otel FROM golang:1.25-alpine AS builder # Install git and ca-certificates @@ -11,13 +9,8 @@ WORKDIR /app # Copy go mod and sum files COPY go.mod go.sum ./ -# Coolify specific Test - set Go proxy to direct to avoid issues -# ENV GOSUMDB=off -ENV GOPROXY=https://goproxy.io,https://proxy.golang.org,direct -RUN go env | grep -E 'GOPROXY|GOSUMDB|GOPRIVATE' && go mod download - # Download all dependencies -#RUN go mod download +RUN go mod download # Copy the source code into the container COPY . .