Updated Dockerfile

This commit is contained in:
Eduard Urbach 2019-04-08 16:55:45 +09:00
parent 76dfbbc511
commit 25fdd9dfaa

View File

@ -6,6 +6,8 @@ ENV ARN_ROOT /notify.moe
RUN apk add --no-cache git nodejs npm make gcc libc-dev RUN apk add --no-cache git nodejs npm make gcc libc-dev
RUN npm i -g typescript RUN npm i -g typescript
RUN go mod download RUN go mod download
RUN make all RUN make tools && make assets
RUN make server
RUN git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
RUN apk del git nodejs npm make gcc libc-dev RUN apk del git nodejs npm make gcc libc-dev
CMD ["/notify.moe/notify.moe"] CMD ["/notify.moe/notify.moe"]