summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-05-11 14:51:42 +0200
committerluccioman <luccioman@users.noreply.github.com>2016-05-11 14:51:42 +0200
commit7cb086714dd1d445c3455185ffbdf9d8b459b662 (patch)
tree046024c56aeb3726162d56527e7c1a4e458c3b91 /docker/Dockerfile
parent60756e603bc9d2e8ed3f4d1bb504682e789eeb00 (diff)
Try modifications for automated build on dockerhub
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 018cbd6f5..aa0b5485b 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -12,10 +12,13 @@ RUN apt-get clean
# copy context : should be a YaCy git repository (remote or locally cloned)
# context can also be obtained from extracted sources archive, but version number will be default to 1.83/9000 when building
-COPY . /opt/yacy_search_server-master
+COPY ./yacy_search_server /opt/yacy_search_server
+
+# trace content of copied directory
+RUN ls /opt/yacy_search_server
# set current working dir to extracted sources directory
-WORKDIR /opt/yacy_search_server-master
+WORKDIR /opt/yacy_search_server
# Compile with ant
RUN ant clean compile
@@ -27,7 +30,7 @@ RUN rm -rf .git
EXPOSE 8090
# Set data volume : can be used to persist yacy data and configuration
-VOLUME ["/opt/yacy_search_server-master/DATA"]
+VOLUME ["/opt/yacy_search_server/DATA"]
# Start yacy ind debug mode (-d) to display console logs and to wait for yacy process
-CMD sh /opt/yacy_search_server-master/startYACY.sh -d \ No newline at end of file
+CMD sh /opt/yacy_search_server/startYACY.sh -d