intial commit

This commit is contained in:
2026-05-25 11:45:56 +05:30
commit 6ab508560f
73 changed files with 23713 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# First Stage
FROM golang:1.24
RUN mkdir /app
ADD . /app/
WORKDIR /app
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .
# Second Stage
FROM alpine
# Fix: Alpine needs ca-certificates to verify Google API SSL certificates
RUN apk add --no-cache ca-certificates
# Copy from first stage
COPY --from=0 /app/server /app/server
COPY nearle-gear-firebase-adminsdk-l9oha-23ca3b3609.json /app/
WORKDIR /app
# Default startup command
CMD ["./server"]