Move container build files into their own dir and introduce the scope script.

This commit is contained in:
Tom Wilkie
2015-05-18 20:23:12 +00:00
parent 0040b25f69
commit 84d724f645
6 changed files with 167 additions and 11 deletions

11
docker/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM gliderlabs/alpine
MAINTAINER Weaveworks Inc <help@weave.works>
WORKDIR /home/weave
RUN apk add --update supervisor
RUN ["sh", "-c", "rm -rf /var/cache/apk/*"]
ADD supervisord.conf /etc/
ADD ./app /home/weave/
ADD ./probe /home/weave/
ADD ./entrypoint.sh /home/weave/
EXPOSE 4040
ENTRYPOINT ["/home/weave/entrypoint.sh"]