make sure to copy the source to the container
Some checks failed
Build and publish the docker image / build (push) Failing after 46s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-01-19 12:32:02 +03:00
parent 7cea387f02
commit e9dfb890dc
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D

View File

@ -1,12 +1,13 @@
FROM golang:1.23.4 AS build
WORKDIR /code
RUN go install github.com/a-h/templ/cmd/templ@latest
WORKDIR /code
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY . .
RUN make CGO_ENABLED=0
FROM alpine:3.21