fix:#7 fixed nginx/docker config

This commit is contained in:
Elmar Kresse
2024-06-11 00:11:06 +02:00
parent a94721cf02
commit 89c532a7eb
6 changed files with 33 additions and 25 deletions

View File

@@ -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"]