Files
ironmount/go/Dockerfile.dev
Nicolas Meienberger a0be690eb9 chore: move to go folder
2025-08-20 22:15:43 +02:00

17 lines
251 B
Docker

FROM golang:1.24-alpine3.21 AS builder
WORKDIR /app
RUN go install github.com/air-verse/air@latest
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY ./internal ./internal
COPY ./main.go ./
COPY ./.air.toml ./
CMD ["air", "-c", ".air.toml"]