Files
qgo-server/Dockerfile
Smile Rex adc6341b90
Some checks failed
Create and publish a Docker image 🚀 / build-and-push-image (push) Has been cancelled
add certs 1
2026-03-10 01:52:52 +03:00

13 lines
238 B
Docker

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