From 892a08936f65c71dfd4a4a6859917ebca248fc1f Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Tue, 16 Jan 2024 01:18:27 +0100 Subject: [PATCH] feat:#11 added gcc and enabled performance sql --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 49f26d9..b0e763e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine +FROM golang:1.21.6 # Set the Current Working Directory inside the container WORKDIR /app @@ -12,7 +12,7 @@ COPY *.go ./ COPY . . # Build the Go app -RUN CGO_ENABLED=0 GOOS=linux go build -o /htwkalender +RUN CGO_ENABLED=1 GOOS=linux go build -o /htwkalender # Expose port 8080 to the outside world EXPOSE 8080