2019-04-08 05:43:13 +00:00
|
|
|
FROM golang:1.12.2-alpine
|
|
|
|
RUN mkdir /notify.moe
|
|
|
|
ADD . /notify.moe
|
|
|
|
WORKDIR /notify.moe
|
|
|
|
ENV ARN_ROOT /notify.moe
|
|
|
|
RUN apk add --no-cache git nodejs npm make gcc libc-dev
|
|
|
|
RUN npm i -g typescript
|
|
|
|
RUN go mod download
|
2019-04-08 07:55:45 +00:00
|
|
|
RUN make tools && make assets
|
|
|
|
RUN make server
|
|
|
|
RUN git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
|
2019-04-08 05:43:13 +00:00
|
|
|
RUN apk del git nodejs npm make gcc libc-dev
|
|
|
|
CMD ["/notify.moe/notify.moe"]
|