Only include specific files in the docker build

This commit is contained in:
Ryan Kelly 2014-12-10 19:40:00 +11:00
parent e977089cf9
commit 36629986d0

View File

@ -34,7 +34,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
USER app
RUN mkdir -p /home/app/syncserver
ADD ./ /home/app/syncserver
ADD Makefile *.ini *.wsgi *.rst *.txt *.py /home/app/syncserver/
ADD ./syncserver/ /home/app/syncserver/syncserver/
WORKDIR /home/app/syncserver
RUN make build