Files
qgo-server/Dockerfile
Smile Rex ff429b993e
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 2m20s
add ci
2026-03-03 20:05:28 +03:00

11 lines
178 B
Docker

FROM golang:alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o main .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/main /app/main
EXPOSE 8080
CMD ["/app/main"]