summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dockerignore5
-rw-r--r--docker/Dockerfile8
2 files changed, 7 insertions, 6 deletions
diff --git a/.dockerignore b/.dockerignore
index 0ea94323..74055650 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,5 +1,4 @@
-docker/
-Dockerfile
+docker/Dockerfile
.dockerignore
.git/
.gitattributes
@@ -7,4 +6,4 @@ Dockerfile
.gitreview
.idea/
.project
-.pydevproject \ No newline at end of file
+.pydevproject
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 24c63892..188a8e15 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -51,9 +51,11 @@ RUN python3.7 -m pip install setuptools wheel
RUN python3.7 -m pip install virtualenv
# Copy the robot code
-COPY . /var/opt/ONAP/
-COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
-COPY authorization /etc/lighttpd/authorization
+COPY html/ /var/opt/ONAP/html
+COPY robot/ /var/opt/ONAP/robot
+COPY *.sh /var/opt/ONAP/
+COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
+COPY docker/authorization /etc/lighttpd/authorization
RUN chmod 777 /var/opt/ONAP/setup.sh \
&& chmod 777 /var/opt/ONAP/runTags.sh \
&& chmod 777 /var/opt/ONAP/dnstraffic.sh \