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-05-03 07:31:34 +00:00
|
|
|
ADD config/config.yml /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
|