initial commit

This commit is contained in:
2025-02-15 21:33:54 -05:00
commit aa7fd1cdb7
6 changed files with 334 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM siteworxpro/golang:1.23.5 AS build
WORKDIR /app
ADD . .
ENV GOPRIVATE=git.s.int
ENV GOPROXY=direct
ENV CGO_ENABLED=0
RUN go mod tidy && go build -o top-wallpaper .
FROM alpine:latest AS runtime
EXPOSE 8080
WORKDIR /app
COPY --from=build /app/top-wallpaper /app/top-wallpaper
ENTRYPOINT ["/app/top-wallpaper"]