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 - + - + -
+ +
- -
- - -
- - -