diff --git a/Dockerfile b/Dockerfile index 1d46f6f2..7e6bbdb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,7 @@ RUN mkdir ../gradleFolder && wget https://services.gradle.org/distributions/grad && unzip -d ../gradleFolder ../gradleFolder/gradle-7.3.2-bin.zip && rm -R ../gradleFolder/gradle-7.3.2-bin.zip # Replace HOST for database configuration (standard & for testing) with the db container name -RUN sed -i "s/^HOST.*/HOST=arangodb/" ocd/arangoDB/config_test.properties -RUN sed -i "s/^HOST.*/HOST=arangodb/" ocd/arangoDB/standard_config.properties +RUN sed -i "s/^HOST.*/HOST=arangodb/" ocd/arangoDB/config.properties # This is to clean the previously generated agents and avoid error in case WebOCD was built before image creation @@ -26,4 +25,4 @@ RUN ../gradleFolder/gradle-7.3.2/bin/gradle testWithoutDB # Add a loop that waits for arangodb to run, before webocd service starts when start_network.sh is used RUN sed -i '2 i while ! nc -z arangodb 8529; do sleep 10; done' bin/start_network.sh RUN chmod +x bin/start_network.sh -CMD ["bin/start_network.sh"] \ No newline at end of file +CMD ["bin/start_network.sh"]