Fix jwt-token
This commit is contained in:
18
Dockerfile.healthprobe
Normal file
18
Dockerfile.healthprobe
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install required Python packages
|
||||
RUN pip install --no-cache-dir requests
|
||||
|
||||
# Copy the health probe simulator script
|
||||
COPY health_probe_simulator.py .
|
||||
|
||||
# Set environment variables with defaults
|
||||
ENV PROBE_FAILRATE=30
|
||||
ENV PROBE_INTERVAL_SECONDS=60
|
||||
ENV API_BASE_URL=https://selfservice.cqers.com/drones/api
|
||||
|
||||
# Run the health probe simulator
|
||||
CMD ["python", "health_probe_simulator.py"]
|
||||
Reference in New Issue
Block a user