Files
tma-back/Dockerfile
Smile Rex 7acd741749
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m1s
fix
2026-01-11 17:48:00 +03:00

12 lines
179 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"]