settings section

This commit is contained in:
2026-07-04 18:34:30 +05:00
parent bbe5d219ad
commit 0c717101da
2867 changed files with 1118596 additions and 1 deletions

30
Dockerfile Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/ash
# Specifies a parent image
FROM golang:1.26.4-alpine AS builder
# Creates an app directory to hold your app’s source code
WORKDIR /build
# Installs Go dependencies
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY . .
# Builds your app with optional configuration
RUN GOARCH=amd64 GOOS=linux go build -o myapp ./app.go
FROM scratch
WORKDIR /app/
COPY --from=builder /build/myapp .
COPY --from=builder /build/config.yaml .
# Tells Docker which network port your container listens on
EXPOSE 5050
#ENTRYPOINT ["/app/myapp"]
CMD ["/app/myapp"]