Skip to content

Commit

Permalink
fix: Fix incorrect entrypoint in Dockerfile (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames authored Mar 22, 2022
1 parent 05cde4a commit 870f903
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .Dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tmp
.vscode
.vagrant
dist
release_deps
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ COPY --from=build /collector/observiq-otel-collector /collector/
COPY --from=build /opt/opentelemetry-java-contrib-jmx-metrics.jar /opt/opentelemetry-java-contrib-jmx-metrics.jar

# User should mount /etc/otel/config.yaml at runtime using docker volumes / k8s configmap
ENTRYPOINT [ "/collector" ]
ENTRYPOINT [ "/collector/observiq-otel-collector" ]
CMD ["--config", "/etc/otel/config.yaml"]

0 comments on commit 870f903

Please sign in to comment.