Merge branch 'FlexiDB'

This commit is contained in:
2025-07-24 07:39:43 +02:00
parent 1ef16940e6
commit 20659fa5f6
3647 changed files with 15892 additions and 1376968 deletions
+22
View File
@@ -0,0 +1,22 @@
# Development Dockerfile für Go Backend mit Live-Reloading
#FROM golang:1.23-alpine
FROM golang:1.24-alpine
# Install necessary packages for CGO and SQLite
RUN apk add --no-cache gcc musl-dev sqlite-dev
# Install Air für Live-Reloading (kompatible Version für Go 1.23)
#RUN go install github.com/cosmtrek/air@v1.49.0
RUN go install github.com/air-verse/air@latest
WORKDIR /app
# Copy go.mod and go.sum first
COPY go.mod go.sum ./
RUN go mod download
# Expose port
EXPOSE 8180
# Use Air for live reloading
CMD ["air", "-c", ".air.toml"]