We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a55e5 commit fc0cf35Copy full SHA for fc0cf35
Dockerfile
@@ -5,15 +5,15 @@ RUN (apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-e
5
RUN (easy_install pip &&\
6
pip install uwsgi)
7
8
+ADD app/requirements.txt /opt/django/app/requirements.txt
9
+RUN pip install -r /opt/django/app/requirements.txt
10
ADD . /opt/django/
11
12
RUN (echo "daemon off;" >> /etc/nginx/nginx.conf &&\
13
rm /etc/nginx/sites-enabled/default &&\
14
ln -s /opt/django/django.conf /etc/nginx/sites-enabled/ &&\
15
ln -s /opt/django/supervisord.conf /etc/supervisor/conf.d/)
16
-RUN pip install -r /opt/django/app/requirements.txt
-
17
VOLUME ["/opt/django/app"]
18
EXPOSE 80
19
CMD ["/opt/django/run.sh"]
0 commit comments