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

Removed * from .dockerignore, fixed paths in Dockerfile-production, added...

Removed * from .dockerignore, fixed paths in Dockerfile-production, added secret to Kubernetes config.
parent f72a4c58
*
*local_settings.py* *local_settings.py*
!rnacentral/requirements.txt
...@@ -45,5 +45,5 @@ RUN \ ...@@ -45,5 +45,5 @@ RUN \
RUN pip install -r /srv/rnacentral/rnacentral/requirements.txt RUN pip install -r /srv/rnacentral/rnacentral/requirements.txt
# Start up the app # Start up the app
ENTRYPOINT supervisord -c /srv/rnacentral/rnacentral-webcode/supervisor/supervisor.conf && \ ENTRYPOINT supervisord -c /srv/rnacentral/supervisor/supervisor.conf && \
python /srv/rnacentral/rnacentral-webcode/manage.py runserver 0.0.0.0:8000 python /srv/rnacentral/rnacentral/manage.py runserver 0.0.0.0:8000
...@@ -16,4 +16,8 @@ spec: ...@@ -16,4 +16,8 @@ spec:
containers: containers:
- name: rnacentral-webcode - name: rnacentral-webcode
# Run this image # Run this image
image: rnacentral/rnacentral-webcode:latest image: rnacentral/rnacentral-webcode:latest
\ No newline at end of file volumeMounts:
- name: local-settings
mountPath: "/srv/rnacentral/rnacentral/rnacentral/local_settings.py"
readOnly: true
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