1
0
forked from baron/baron-sso

flutter 상위 구조로 포함. infra 분리 리팩토링

This commit is contained in:
Lectom C Han
2025-12-23 17:20:27 +09:00
commit 48589dca5d
85 changed files with 3120 additions and 0 deletions

21
backend/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM golang:1.21-alpine
WORKDIR /app
# Install git for go mod download if needed
RUN apk add --no-cache git
# Pre-copy go.mod/sum to cache dependencies
COPY go.mod go.sum ./
RUN go mod download
# Copy source
COPY . .
# Build for production (optional, can just run go run for dev)
RUN go build -o main ./cmd/server
EXPOSE 3000
# Default command (can be overridden by compose)
CMD ["./main"]