You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
301 B
15 lines
301 B
FROM golang:1.6
|
|
|
|
RUN mkdir -p /go/src/app
|
|
WORKDIR /go/src/app
|
|
|
|
COPY . /go/src/app
|
|
RUN go-wrapper download
|
|
RUN go-wrapper install
|
|
|
|
ENV ALLOW_CONTAINER_ROOT=1
|
|
RUN mkdir -p /export/docker && cp /go/src/app/Docker.md /export/docker/
|
|
|
|
EXPOSE 9000
|
|
ENTRYPOINT ["go-wrapper", "run", "server"]
|
|
CMD ["/export"]
|
|
|