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