aboutsummaryrefslogtreecommitdiffstats
path: root/build/test/nms-front-test.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'build/test/nms-front-test.Dockerfile')
-rw-r--r--build/test/nms-front-test.Dockerfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/build/test/nms-front-test.Dockerfile b/build/test/nms-front-test.Dockerfile
index 256083a..e9d7ef8 100644
--- a/build/test/nms-front-test.Dockerfile
+++ b/build/test/nms-front-test.Dockerfile
@@ -30,16 +30,13 @@ RUN apt-get -y install \
apache2
RUN mkdir -p /opt/nms
-ADD web /opt/nms/web
-ADD include /opt/nms/include
-ADD extras /opt/nms/extras
RUN a2dissite 000-default
RUN a2enmod cgi
-RUN cp /opt/nms/extras/misc/apache2.conf /etc/apache2/sites-enabled/nms.conf
+RUN ln -s /opt/nms/extras/misc/apache2.conf /etc/apache2/sites-enabled/nms.conf
RUN mkdir -p /opt/nms/etc
-RUN echo 'demo:$apr1$IKrQYF6x$0zmRciLR7Clc2tEEosyHV.' > /opt/nms/etc/htpasswd-read
-RUN echo 'demo:$apr1$IKrQYF6x$0zmRciLR7Clc2tEEosyHV.' > /opt/nms/etc/htpasswd-write
+RUN echo 'demo:$apr1$IKrQYF6x$0zmRciLR7Clc2tEEosyHV.' > /htpasswd-read
+RUN echo 'demo:$apr1$IKrQYF6x$0zmRciLR7Clc2tEEosyHV.' > /htpasswd-write
ADD build/test/dummy-apache2.start /
RUN chmod 0755 /dummy-apache2.start
CMD /dummy-apache2.start