Commit f72a4c58 authored by Boris A. Burkov's avatar Boris A. Burkov
Browse files

Fixes in production Dockerfile, added local_settings.py to .dockerignore.

parent 813c8509
*
*local_settings.py*
!rnacentral/requirements.txt
......@@ -15,10 +15,10 @@ RUN apt-get update && apt-get install -y \
wget \
tar \
git \
python-2.7 \
python2.7 \
libpython2.7-dev \
python-pip \
redis \
redis-server \
memcached
ADD . /srv/rnacentral
......@@ -42,9 +42,8 @@ RUN \
rm infernal-1.1.1.tar.gz
# Install Django requirements
RUN pip install -r /srv/rnacentral/requirements.txt
RUN pip install -r /srv/rnacentral/rnacentral/requirements.txt
# Start up the app
ENTRYPOINT
supervisord -c /srv/supervisor/supervisor.conf && \
python /srv/rnacentral/manage.py runserver 0.0.0.0:8000
ENTRYPOINT supervisord -c /srv/rnacentral/rnacentral-webcode/supervisor/supervisor.conf && \
python /srv/rnacentral/rnacentral-webcode/manage.py runserver 0.0.0.0:8000
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment