feat: dev hot reload setup

This commit is contained in:
Nicolas Meienberger
2025-08-09 17:08:54 +02:00
parent e7463d34ef
commit 065c629ba8
11 changed files with 88 additions and 3 deletions

12
Dockerfile.dev Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.24-alpine3.21 AS builder
WORKDIR /ironmount
RUN go install github.com/air-verse/air@latest
COPY go.mod ./
RUN go mod download
COPY . .
CMD ["air", "-c", ".air.toml"]