mirror of
https://github.com/elyby/chrly.git
synced 2024-12-23 05:30:06 +05:30
16 lines
196 B
Docker
16 lines
196 B
Docker
|
FROM golang:1.7
|
||
|
|
||
|
RUN mkdir -p /go/src/app
|
||
|
WORKDIR /go/src/app
|
||
|
|
||
|
COPY ./src /go/src/app
|
||
|
|
||
|
RUN go-wrapper download
|
||
|
RUN go-wrapper install
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
VOLUME ["/go/src/app"]
|
||
|
|
||
|
CMD ["go-wrapper", "run"]
|