Ensure templtes are copied into build context
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.24-alpine AS builder
|
FROM golang:1.24-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY src/main.go .
|
COPY src/ .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o echo-server main.go
|
RUN CGO_ENABLED=0 GOOS=linux go build -o echo-server main.go
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|||||||
Reference in New Issue
Block a user