yap icon indicating copy to clipboard operation
yap copied to clipboard

building with docker -

Open davidvoler opened this issue 2 years ago • 0 comments

Hi I am trying to use YAP. The easiest way was to use docker to build. Here is a working Dockerfile

FROM golang:1.12-buster

RUN apt update && apt install -y bzip2 ca-certificates libgnutls30

RUN mkdir -p /yap/src COPY . /yap/src/yap

ENV GOPATH=/yap WORKDIR /yap/src/yap

RUN bunzip2 data/*.bz2 RUN go get . RUN go build .

EXPOSE 8000

ENTRYPOINT ["/yap/src/yap/yap", "api"]

davidvoler avatar Nov 23 '22 08:11 davidvoler