2016-04-11 08:38:59 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
|
|
|
|
|
|
|
|
RUN apk update && apk upgrade \
|
|
|
|
&& apk add ca-certificates \
|
|
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
|
|
|
|
RUN mkdir /app
|
2016-04-13 07:22:04 +00:00
|
|
|
ADD gorush.tar.gz /app/
|
2016-04-11 12:27:12 +00:00
|
|
|
ADD config /app/config
|
2016-04-11 08:38:59 +00:00
|
|
|
WORKDIR /app
|
2016-04-13 07:22:04 +00:00
|
|
|
ENTRYPOINT ["./gorush", "-c", "config/config.yml"]
|
2016-04-11 08:38:59 +00:00
|
|
|
EXPOSE 8088
|