- Added requirements file
- Modified server.py a bit
This commit is contained in:
9
python_server/entrypoint.sh
Normal file
9
python_server/entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This file exists to use Ngrok inside Dockerfile
|
||||
|
||||
# Start server with OpenTelemetry in background
|
||||
opentelemetry-instrument python server.py &
|
||||
|
||||
# Run ngrok to expose port 8000
|
||||
ngrok http --url=pegasus-working-bison.ngrok-free.app 8000
|
||||
Reference in New Issue
Block a user