Added Dockerfile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user