xitro commited on
Commit
c30dbc5
·
verified ·
1 Parent(s): aedfcee

Updated Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -13
Dockerfile CHANGED
@@ -1,14 +1,3 @@
1
  FROM python:3.11-slim
2
-
3
- # Install wget
4
- RUN apt-get update -q && apt-get install -y -q wget 2>&1 | tail -3
5
-
6
- # Copy probe script
7
- COPY probe.sh /probe.sh
8
- RUN chmod +x /probe.sh
9
-
10
- # Run probe during BUILD phase
11
- RUN /probe.sh 2>&1
12
-
13
- # Runtime
14
- CMD ["/probe.sh"]
 
1
  FROM python:3.11-slim
2
+ COPY probe.py /probe.py
3
+ CMD ["python3", "/probe.py"]