diff --git a/docker_templates/heat/heat-base/Dockerfile.j2 b/docker_templates/heat/heat-base/Dockerfile.j2 index bd84be5baf..858148f31c 100644 --- a/docker_templates/heat/heat-base/Dockerfile.j2 +++ b/docker_templates/heat/heat-base/Dockerfile.j2 @@ -23,9 +23,8 @@ RUN cd /heat \ && useradd --user-group heat \ && pip install -r requirements.txt \ && pip install /heat \ - && mkdir /etc/heat /var/www/cgi-bin/heat \ - && cp -r /heat/etc/* /etc/heat/ \ - && cp -a httpd/heat.py /var/www/cgi-bin/heat/admin \ - && cp -a httpd/heat.py /var/www/cgi-bin/heat/main + && mkdir /etc/heat /var/log/heat \ + && cp -r /heat/etc/heat/* /etc/heat/ \ + && rm -rf /root/.cache {% endif %}