This repository has been archived on 2024-02-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
astontest/deploy/Dockerfile

14 lines
192 B
Docker

FROM golang:1.21 as builder
WORKDIR /project
COPY go.* ./
RUN go mod download
COPY . .
RUN make build
FROM alpine:latest
COPY --from=builder /project/bin/service /
ENTRYPOINT ["/service"]