You've already forked reloading-manager
No changes made
This commit is contained in:
19
backend/Dockerfile
Normal file
19
backend/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM siteworxpro/golang:1.24.0 AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ARG CGO_ENABLED=0
|
||||
ARG GOOS=linux
|
||||
ARG GOPROXY=direct
|
||||
ARG GOPRIVATE=git.s.int
|
||||
|
||||
ADD . .
|
||||
|
||||
RUN go mod tidy
|
||||
RUN go build -o app
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /app/app .
|
||||
|
||||
ENTRYPOINT ["/app"]
|
||||
Reference in New Issue
Block a user