From b2e80ac87a69eeae8fed3332d3747ad8fc79788e Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 11 Apr 2025 11:14:37 +0100 Subject: [PATCH] Switched port to 1212 --- Dockerfile | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 927274a..f060e7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,5 @@ RUN apk add blender WORKDIR /root/ COPY --from=builder /app/server . COPY main.py.tmpl . -EXPOSE 8080 +EXPOSE 1212 CMD ["./server"] diff --git a/main.go b/main.go index 272036d..a79c895 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ func main() { port := os.Getenv("PORT") if port == "" { - port = "8080" + port = "1212" } log.Printf("Server starting on port %s", port) if err := http.ListenAndServe(":"+port, nil); err != nil {