Switched port to 1212

This commit is contained in:
2025-04-11 11:14:37 +01:00
parent 1b849a7603
commit b2e80ac87a
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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 {