19 lines
499 B
Docker
19 lines
499 B
Docker
FROM node:8.14-alpine
|
|
|
|
LABEL maintainer="Mriyam Tamuli <mbtamuli@gmail.com>"
|
|
|
|
# Set a working directory
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . /usr/src/app
|
|
RUN npm install
|
|
RUN npm link
|
|
RUN apk add bash jq httpie
|
|
COPY setenv-cl.sh /root/setenv-cl.sh
|
|
COPY setenv-rs.sh /root/setenv-rs.sh
|
|
COPY list-zones.sh /root/list-zones.sh
|
|
RUN wget -O- https://github.com/cloudflare/cloudflare-go/releases/download/v0.15.0/flarectl_0.15.0_linux_amd64.tar.xz | tar Jxf -
|
|
RUN mv flarectl /usr/bin/
|
|
|
|
ENTRYPOINT [ "/bin/bash" ]
|