drone-netlify/Dockerfile

17 lines
500 B
Docker
Raw Permalink Normal View History

2018-02-15 20:08:23 +00:00
FROM node:alpine
LABEL maintainer="Luca Perret <perret.luca@gmail.com>"
LABEL org.label-schema.version=latest
LABEL org.label-schema.vcs-url="https://github.com/lucaperret/drone-netlify"
LABEL org.label-schema.name="drone-netlify"
LABEL org.label-schema.description="Deploying to netlify with Drone CI"
LABEL org.label-schema.vendor="Luca Perret"
LABEL org.label-schema.schema-version="1.0"
RUN npm install -g netlify-cli
ADD script.sh /bin/
RUN chmod +x /bin/script.sh
ENTRYPOINT /bin/script.sh