simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin
This commit is contained in:
commit
4f38daf0e6
31 changed files with 6870 additions and 0 deletions
13
Containerfile
Normal file
13
Containerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Build: podman build -t simpleadmin-web .
|
||||
FROM docker.io/library/golang:1.25 AS build
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /simpleadmin-web .
|
||||
|
||||
# distroless/static has CA certificates (for Steam sign-in) and runs as a non-root user.
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
COPY --from=build /simpleadmin-web /simpleadmin-web
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/simpleadmin-web"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue