Files
reloading-manager/backend/Dockerfile
Ron Rise 95b626b439
All checks were successful
🏗️ ✨ Build Workflow / 🖥️ 🔨 Build Backend (push) Successful in 7m3s
🏗️ ✨ Build Workflow / 🚀 ✨ Deploy Application (push) Successful in 57s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 5m7s
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m17s
🏗️ ✨ Build Workflow / 🖼️ 🔨 Build Frontend (push) Successful in 5m35s
It's Working!
2025-05-16 08:50:55 -04:00

20 lines
280 B
Docker

FROM siteworxpro/golang:1.24.3 AS build
WORKDIR /app
ARG CGO_ENABLED=0
ARG GOOS=linux
ARG GOPROXY=direct
ARG GOPRIVATE=git.siteworxpro.com
ADD . .
RUN go mod tidy
RUN go build -o app
FROM scratch
COPY --from=build /app/app .
ADD ./migrations /migrations
ENTRYPOINT ["/app"]