mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-09 13:17:46 +02:00
fix:#7 fixed nginx/docker config
This commit is contained in:
@@ -41,7 +41,7 @@ RUN mkdir -p data
|
||||
# copies executable from build container
|
||||
COPY --chown=$USER:$USER --from=build /htwkalender-ical ./
|
||||
|
||||
# Expose port 8090 to the outside world
|
||||
# Expose port 8091 to the outside world
|
||||
EXPOSE 8091
|
||||
|
||||
ENTRYPOINT ["./htwkalender-ical"]
|
||||
@@ -63,8 +63,8 @@ COPY . .
|
||||
# Build the Go app
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -o /htwkalender-ical
|
||||
|
||||
# Expose port 8090 to the outside world
|
||||
EXPOSE 8090
|
||||
# Expose port 8091 to the outside world
|
||||
EXPOSE 8091
|
||||
|
||||
# Entry point
|
||||
ENTRYPOINT ["./htwkalender-ical"]
|
Reference in New Issue
Block a user