rimgo/Dockerfile

18 lines
269 B
Docker

FROM golang:alpine AS build
WORKDIR /src
RUN apk --no-cache add git
RUN git clone https://codeberg.org/video-prize-ranch/rimgo .
RUN go mod download
RUN go build
FROM alpine:latest as bin
WORKDIR /app
COPY --from=build /src/rimgo .
EXPOSE 3000
CMD ["/app/rimgo"]