Added Dockerfile

This commit is contained in:
2019-04-08 14:43:13 +09:00
parent cbb4a384ed
commit 76dfbbc511
2 changed files with 11 additions and 8 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
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
RUN make all
RUN apk del git nodejs npm make gcc libc-dev
CMD ["/notify.moe/notify.moe"]