rentease/Dockerfile.dev
Ruidy db1fa2cbd9
feat: update Go version and dependencies
Updated Go version to 1.24 and upgraded dependencies to their latest
compatible versions. This includes updates to Dockerfiles, go.mod,
and go.sum. Regenerated templated files with templ v0.3.857.
2025-04-23 17:31:46 +02:00

18 lines
338 B
Docker

FROM golang:1.24-alpine
WORKDIR /app
RUN apk update \
&& apk add --no-cache build-base \
&& apk add --no-cache golangci-lint \
&& go install github.com/air-verse/air@latest \
&& go install github.com/a-h/templ/cmd/templ@latest
COPY go.mod go.sum ./
RUN go mod download
COPY . .
EXPOSE 8000
CMD [ "air", "-c", ".air.toml" ]