[CORD-3090] Remove Filebeat logging
Change-Id: I29632e295de4a018a402bd0bf13c6247ba121205
diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer
index b81e648..6aa3dc3 100644
--- a/Dockerfile.synchronizer
+++ b/Dockerfile.synchronizer
@@ -1,4 +1,3 @@
-
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,15 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
# xosproject/onos-synchronizer
+
FROM xosproject/xos-synchronizer-base:candidate
COPY xos/synchronizer /opt/xos/synchronizers/onos
COPY VERSION /opt/xos/synchronizers/onos/
-ENTRYPOINT []
-
WORKDIR "/opt/xos/synchronizers/onos"
# Label image
@@ -53,4 +50,5 @@
org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \
org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref
-CMD bash -c "service filebeat start; cd /opt/xos/synchronizers/onos; ./run-from-api.sh"
+CMD ["/usr/bin/python", "/opt/xos/synchronizers/onos/onos-synchronizer.py"]
+