From c8aa3fb3b2491b4abd5bee73a5d1306407f8476a Mon Sep 17 00:00:00 2001 From: Pedan Date: Fri, 19 Sep 2025 09:34:01 +0200 Subject: [PATCH] Push newest version --- Dockerfile | 5 +- app/web/static/index.html | 212 +++++++++++------------------ app/web/static/main.js | 86 ++++++++++++ app/web/static/styles.css | 280 ++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 2 +- 5 files changed, 452 insertions(+), 133 deletions(-) create mode 100644 app/web/static/styles.css diff --git a/Dockerfile b/Dockerfile index 8802f89..d708dae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,10 @@ FROM golang:1.24-alpine AS builder WORKDIR /src # Install build dependencies (none needed for static build) and enable static build -ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 +# Make the build architecture-aware for buildx multi-arch builds +ARG TARGETOS +ARG TARGETARCH +ENV CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} # Cache go modules COPY app/web/go.mod ./app/web/ diff --git a/app/web/static/index.html b/app/web/static/index.html index e57cd76..fa8c051 100644 --- a/app/web/static/index.html +++ b/app/web/static/index.html @@ -6,154 +6,97 @@ FreeMoto ยท Route Planner - + - + -
+ +
- -
- - -
- - -