mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-08-07 04:09:17 +02:00
feat:#11 added gcc and enabled performance sql
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.21-alpine
|
FROM golang:1.21.6
|
||||||
|
|
||||||
# Set the Current Working Directory inside the container
|
# Set the Current Working Directory inside the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -12,7 +12,7 @@ COPY *.go ./
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the Go app
|
# 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 port 8080 to the outside world
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
Reference in New Issue
Block a user