diff --git a/services/backup/Dockerfile b/services/backup/Dockerfile --- a/services/backup/Dockerfile +++ b/services/backup/Dockerfile @@ -13,10 +13,10 @@ WORKDIR /transferred COPY native/cpp/CommonCpp/grpc/protos/backup.proto native/cpp/CommonCpp/grpc/protos/blob.proto protos/ -COPY services/backup/docker/ scripts/ COPY services/lib/ . COPY services/backup/ . RUN scripts/build_server.sh CMD if [ "$COMM_TEST_SERVICES" -eq 1 ]; then scripts/run_tests.sh; else scripts/run_server.sh; fi + diff --git a/services/backup/docker/build.sh b/services/backup/scripts/build.sh rename from services/backup/docker/build.sh rename to services/backup/scripts/build.sh diff --git a/services/backup/docker/build_server.sh b/services/backup/scripts/build_server.sh rename from services/backup/docker/build_server.sh rename to services/backup/scripts/build_server.sh diff --git a/services/backup/docker/generate.sh b/services/backup/scripts/generate.sh rename from services/backup/docker/generate.sh rename to services/backup/scripts/generate.sh diff --git a/services/backup/docker/run_server.sh b/services/backup/scripts/run_server.sh rename from services/backup/docker/run_server.sh rename to services/backup/scripts/run_server.sh diff --git a/services/backup/docker/run_tests.sh b/services/backup/scripts/run_tests.sh rename from services/backup/docker/run_tests.sh rename to services/backup/scripts/run_tests.sh