updated Dockerfile base images
Build Docker Container using Multistage Build / build (push) Has been cancelled
Build Docker Container using Multistage Build / build (push) Has been cancelled
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user