dynstat commited on
Commit
f6ac2cb
·
verified ·
1 Parent(s): d8d0f93

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -17,4 +17,7 @@ COPY --chown=user . .
17
  # Test connectivity (this will run as the non-root user)
18
  RUN curl -v https://api.telegram.org || echo "Connectivity test failed, but continuing build"
19
 
 
 
 
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  # Test connectivity (this will run as the non-root user)
18
  RUN curl -v https://api.telegram.org || echo "Connectivity test failed, but continuing build"
19
 
20
+ RUN ping -c 4 8.8.8.8 || echo "Ping failed, but continuing"
21
+ RUN nslookup api.telegram.org || echo "DNS lookup failed, but continuing"
22
+
23
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]