[Komodo] matthias: Commit Dockerfile: update ./Dockerfile
This commit is contained in:
+16
@@ -1,3 +1,19 @@
|
||||
FROM docker.hnrx.net/golang:latest as build-stage
|
||||
|
||||
RUN go version
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY * ./
|
||||
|
||||
RUN ls -lha
|
||||
|
||||
RUN go mod download
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o manage-servers .
|
||||
|
||||
RUN ls -lha
|
||||
|
||||
FROM docker.hnrx.net/alpine:latest
|
||||
|
||||
# Create application directory
|
||||
|
||||
Reference in New Issue
Block a user