Add authentication server, dev CLI, Docker multi-service setup, and cross-platform improvements

This commit is contained in:
Ilya Groshev
2026-04-21 16:49:44 +03:00
parent 43d6527b42
commit a3fbb1aeba
121 changed files with 4523 additions and 2888 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM alpine:latest AS builder
WORKDIR /usr/local/src
COPY . .
RUN apk add --no-cache go
RUN go build -o auth-server ./cmd/auth-server
FROM alpine:latest
WORKDIR /opt/auth-server
RUN chown 1000:1000 /opt/auth-server
USER 1000
COPY --from=builder /usr/local/src/auth-server .
ENTRYPOINT ["./auth-server"]