Ensure templtes are copied into build context
This commit is contained in:
1 parent
e4b0a8ca6d
commit
cb1e9496d8
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user