2016-10-11 20:50:17 +05:30
|
|
|
FROM golang:1.7-alpine
|
|
|
|
|
|
|
|
RUN apk add --no-cache git
|
2016-07-04 02:50:41 +05:30
|
|
|
|
2016-07-05 03:58:09 +05:30
|
|
|
RUN mkdir -p /go/src/elyby/minecraft-skinsystem \
|
2016-09-22 00:14:52 +05:30
|
|
|
/go/src/elyby/minecraft-skinsystem/data/capes \
|
2016-07-05 03:58:09 +05:30
|
|
|
&& ln -s /go/src/elyby/minecraft-skinsystem /go/src/app
|
|
|
|
|
2016-07-04 02:50:41 +05:30
|
|
|
WORKDIR /go/src/app
|
|
|
|
|
2016-07-05 03:58:09 +05:30
|
|
|
COPY ./minecraft-skinsystem.go /go/src/app/
|
|
|
|
COPY ./lib /go/src/app/lib
|
2016-07-04 02:50:41 +05:30
|
|
|
|
|
|
|
RUN go-wrapper download
|
|
|
|
RUN go-wrapper install
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
VOLUME ["/go/src/app"]
|
|
|
|
|
|
|
|
CMD ["go-wrapper", "run"]
|