Skip to content

Commit

Permalink
Use a volume to deliver configs to the image
Browse files Browse the repository at this point in the history
  • Loading branch information
lepinkainen committed Mar 2, 2016
1 parent 498a04a commit b86fbdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN git clone https://github.com/lepinkainen/pyfibot.git
WORKDIR pyfibot
RUN pip install --upgrade -r requirements.txt

COPY config.yml /tmp/config.yml
RUN mkdir /config

ENTRYPOINT ["pyfibot/pyfibot.py", "/tmp/config.yml"]
VOLUME /config

ENTRYPOINT ["pyfibot/pyfibot.py", "/config/config.yml"]

0 comments on commit b86fbdd

Please sign in to comment.