update secure DB setup and env isolation for LTI API

This commit is contained in:
GitLab Deploy Bot
2025-10-31 10:32:05 +07:00
committed by Hafizh A. Y
parent 4c4be2ef41
commit 4d2a9bd7b4
4 changed files with 316 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM golang:1.23-alpine
# Install dependensi dasar
RUN apk add --no-cache git curl bash build-base
# Install Air (pakai repo baru air-verse)
RUN go install github.com/air-verse/air@v1.52.3
WORKDIR /lti-api
# Cache dependencies
COPY go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
EXPOSE 8081
CMD ["air", "-c", ".air.toml"]