mirror of
https://github.com/inexio/thola.git
synced 2026-10-24 03:08:55 +03:00
9 lines
190 B
Docker
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"] |