second commit

This commit is contained in:
Rogee
2026-06-04 15:44:48 +08:00
parent 4db6efb3a7
commit 8ac150bc7b
1275 changed files with 286124 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# GoChat Development Dockerfile
# Uses air for hot reload, mirrors Chatwoot dev pattern with volume mount
FROM golang:1.24-alpine
# Install air (hot reload tool) and development tools
RUN go install github.com/air-verse/air@latest && apk add --no-cache git
WORKDIR /app
# Pre-download dependencies for faster rebuilds
COPY go.mod go.sum ./
RUN go mod download
# Full source mount via volume in compose — no COPY needed here
# air.toml config must exist in project root
EXPOSE 3000
CMD ["air", "-c", ".air.toml"]