-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building with docker - #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"]
The text was updated successfully, but these errors were encountered: