Ensure templtes are copied into build context

This commit is contained in:
2026-07-27 23:51:07 +01:00
parent e4b0a8ca6d
commit cb1e9496d8

View File

@@ -1,6 +1,6 @@
FROM golang:1.24-alpine AS builder
WORKDIR /app
COPY src/main.go .
COPY src/ .
RUN CGO_ENABLED=0 GOOS=linux go build -o echo-server main.go
FROM scratch