Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 462 Bytes
FROM golang:latest as builder
WORKDIR /go/src
RUN apt-get update && apt-get install -y git-lfs && git lfs install --skip-repo
RUN curl > wnjpn.db.gz && gunzip wnjpn.db.gz
RUN mkdir -p /go/src && git clone /go/src/golem
ADD . /go/src
RUN go build . && ls -l /go/src
FROM debian:buster-slim
COPY --from=builder /go/src/api /go/src/wnjpn.db ./
CMD ["./api"]
You can’t perform that action at this time.