trying to fix go

This commit is contained in:
2025-08-08 07:21:20 -07:00
parent a30b4c8699
commit 7b9f0a7178
4 changed files with 29 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
# GarminSync Dockerfile - Pure Go Implementation
FROM golang:1.22.0-alpine3.19 as builder
FROM golang:1.22.0-alpine3.19 AS builder
# Create working directory
WORKDIR /app
@@ -17,7 +17,7 @@ COPY . .
RUN go mod tidy && go mod download
# Build the Go application
RUN CGO_ENABLED=0 go build -o /garminsync cmd/root.go
RUN CGO_ENABLED=0 go build -o /garminsync main.go
# Final stage
FROM alpine:3.19