Skip to content

Commit

Permalink
Merge pull request NYPL-Simplified#24 from NYPL-Simplified/mount-conf…
Browse files Browse the repository at this point in the history
…ig-dir

Mount config dir
  • Loading branch information
courte committed Feb 24, 2017
2 parents 370e440 + 83751c9 commit 9a59f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ COPY post-receive.sample .git/hooks

# Set up the virtual environment and install python libraries
RUN virtualenv env && \
echo "export SIMPLIFIED_CONFIGURATION_FILE=\"/var/www/circulation/config.json\"" >> env/bin/activate
echo "export SIMPLIFIED_CONFIGURATION_FILE=\"/etc/circulation/config.json\"" >> env/bin/activate
RUN /bin/bash -c 'source env/bin/activate && pip install -r requirements.txt && python -m textblob.download_corpora'
RUN mv /root/nltk_data /usr/lib/

VOLUME /var/www/circulation
ENTRYPOINT ["/bin/bash"]
1 change: 1 addition & 0 deletions docker/scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
# Create cron tasks & logfile
RUN touch /var/log/cron.log
COPY libsimple_crontab /etc/cron.d/circulation
VOLUME /var/log

WORKDIR bin

Expand Down

0 comments on commit 9a59f1b

Please sign in to comment.