mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-08-14 07:33:53 +02:00
feat:#36 added protobuf communication for modules
This commit is contained in:
@@ -24,8 +24,8 @@ RUN apk add --no-cache --update go gcc g++
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY ical/*.go ./ical/
|
||||
COPY ical/. ./ical
|
||||
COPY common/. ./common
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -o /htwkalender-ical ical/main.go
|
||||
|
||||
# production stage
|
||||
@@ -46,7 +46,7 @@ COPY --chown=$USER:$USER --from=build /htwkalender-ical ./
|
||||
# Expose port 8091 to the outside world
|
||||
EXPOSE 8091
|
||||
|
||||
ENTRYPOINT ["./htwkalender-ical"]
|
||||
ENTRYPOINT ["./main"]
|
||||
|
||||
|
||||
FROM golang:1.21.6 AS dev
|
||||
@@ -59,8 +59,8 @@ COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
# Copy the source from the current directory to the Working Directory inside the container
|
||||
COPY ical/*.go ./ical/
|
||||
COPY ical/. ./ical
|
||||
COPY common/. ./common
|
||||
|
||||
# Build the Go app
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -o /htwkalender-ical ical/main.go
|
||||
|
Reference in New Issue
Block a user