Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Shaulis authored Apr 6, 2018
1 parent c5c7357 commit f7b9e0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adsabs/base-microimage
FROM adsabs/base-microimage:v1.0.1

ADD ./ /app
WORKDIR /app
Expand All @@ -12,6 +12,7 @@ ADD local_config.py /local_config.py
RUN /bin/bash -c "find . -maxdepth 2 -name config.py -exec /bin/bash -c 'echo {} | sed s/config.py/local_config.py/ | xargs -n1 cp /local_config.py' \;"
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

COPY entrypoint.sh /entrypoint.sh
RUN cp /base/gunicorn.sh /app/gunicorn.sh
RUN cp /base/gunicorn_entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit f7b9e0b

Please sign in to comment.