- macOS, Linux, or Windows (with WSL2 recommended for Windows)
- Python 3.8+. For model training and serving (FastAPI)
- pip. For installing Python packages
- Docker. For building and pushing container images
from flask import Flask, render_template_string
app = Flask(__name__)
# HTML template string with the provided Dialogflow Messenger code
html_template = """
<!DOCTYPE html>
# Get IE Proxy Settings | |
Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | |
# Set IE Proxy Settings | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 1 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer -value [IPorDomain:Port] | |
# Remove IE Proxy Setings | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 0 | |
Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer |
Source: https://cloud.google.com/service-mesh/docs/security/egress-gateway-gke-tutorial
WORKING_DIRECTORY=<WORKING_DIRECTORY>