mirror of
https://github.com/fosrl/newt.git
synced 2026-02-08 05:56:40 +00:00
Remove Coolify Code
This commit is contained in:
@@ -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
|
FROM golang:1.25-alpine AS builder
|
||||||
|
|
||||||
# Install git and ca-certificates
|
# Install git and ca-certificates
|
||||||
@@ -11,13 +9,8 @@ WORKDIR /app
|
|||||||
# Copy go mod and sum files
|
# Copy go mod and sum files
|
||||||
COPY go.mod go.sum ./
|
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
|
# Download all dependencies
|
||||||
#RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
# Copy the source code into the container
|
# Copy the source code into the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user