Files
notification/Dockerfile
A'zamov Samandar 2bbe34f703
Some checks failed
Deploy to Production / build-and-deploy (push) Failing after 15s
feat(devops)
2025-11-05 19:41:57 +05:00

20 lines
230 B
Docker

FROM golang:alpine AS build
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o notification ./cmd/main.go
FROM alpine
WORKDIR /app
COPY --from=build /app/notification .
CMD ["./notification"]