Commit b3cd12c7 authored by zauberstuhl's avatar zauberstuhl
Browse files

Fix building binary in DOckerfile

parent 51df1587
......@@ -9,8 +9,8 @@ RUN mkdir -p $GI_DIR
COPY . $GI_DIR
WORKDIR $GI_DIR
RUN go get ./... && go build
RUN mv github-integration /usr/local/bin/github-integration
RUN go get ./... && go build -o server
RUN mv server /usr/local/bin/server
RUN mv templates /home/user && \
chown -R user:user /home/user/templates
RUN rm -rv $GOPATH/src/*
......@@ -20,4 +20,4 @@ WORKDIR /home/user
EXPOSE 8181
ENTRYPOINT ["/usr/local/bin/github-integration"]
ENTRYPOINT ["/usr/local/bin/server"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment