aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker_templates/horizon/Dockerfile.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/docker_templates/horizon/Dockerfile.j2 b/docker_templates/horizon/Dockerfile.j2
index e02cbe6f6..d05b21c15 100644
--- a/docker_templates/horizon/Dockerfile.j2
+++ b/docker_templates/horizon/Dockerfile.j2
@@ -39,10 +39,10 @@ RUN apt-get install -y --no-install-recommends \
{% endif %}
ADD horizon.tar /
-RUN ln -s /horizon-* /horizon \
+RUN ln -s /horizon-* horizon \
&& pip --no-cache-dir install /horizon \
&& useradd --user-group horizon \
- && mkdir /etc/openstack-dashboard /home/horizon \
+ && mkdir -p /etc/openstack-dashboard /home/horizon \
&& ln -s openstack_dashboard/static/ /usr/lib/python2.7/site-packages/static \
&& ln -s /etc/openstack-dashboard/local_settings /usr/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py \
&& cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \