updated Dockerfile base images
Build Docker Container using Multistage Build / build (push) Has been cancelled

This commit is contained in:
Matthias Hinrichs
2026-02-18 01:20:05 +01:00
parent da26078383
commit 43f5893972
+2 -2
View File
@@ -1,5 +1,5 @@
# Stage 1: Golang-Basisimage zum Bauen der App
FROM docker.hnrx.net/golang:latest as build-stage
FROM golang:latest as build-stage
RUN go version
@@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o manage-servers .
RUN ls -lha
# Stage 2: Nginx zum Ausführen der App
FROM docker.hnrx.net/alpine:latest as production-stage
FROM alpine:latest as production-stage
# Create application directory
RUN mkdir -p /app/config