1
0
mirror of https://github.com/inexio/thola.git synced 2026-10-24 03:08:55 +03:00
Files
thola/Dockerfile
2021-02-26 16:27:00 +01:00

9 lines
190 B
Docker

FROM golang:latest AS build
WORKDIR /go/src/thola
COPY . .
RUN CGO_ENABLED=0 go build -v -o thola .
FROM alpine:latest
COPY --from=build /go/src/thola/thola .
ENTRYPOINT ["./thola", "api"]