Skip to content

Commit 87da6ea

Browse files
authored
Merge pull request #57 from avrae/AVR-490
AVR-490 DataDog tracer support
2 parents 5a0cc25 + 0c8f33c commit 87da6ea

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ RUN pip install --user --no-warn-script-location -r requirements.txt
99

1010
COPY --chown=taine:taine . .
1111

12-
ENTRYPOINT python bot.py
12+
COPY --chown=taine:taine docker-entrypoint.sh .
13+
RUN chmod +x docker-entrypoint.sh
14+
15+
ENTRYPOINT ["./docker-entrypoint.sh"]

docker-entrypoint.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
/home/taine/.local/bin/ddtrace-run python bot.py

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ fuzzywuzzy[speedup]==0.18.0
55
PyGithub==1.55
66
python-Levenshtein==0.12.2
77
sentry-sdk==1.4.3
8+
9+
# Datadog support
10+
ddtrace~=2.8.2

0 commit comments

Comments
 (0)