diff --git a/Dockerfile b/Dockerfile index ed783d5..a56850b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ # 1. Build Go Backend FROM golang:1.22-alpine AS builder + +# SQLite 및 CGO 빌드에 필요한 패키지 설치 +RUN apk add --no-cache gcc musl-dev + # Cache go modules COPY backend/go.mod backend/go.sum ./backend/ RUN cd backend && go mod download