Remove hardcoded API Token from Dockerfile
This commit is contained in:
@@ -7,7 +7,8 @@ RUN pip install --no-cache-dir fastapi uvicorn psutil RPi.GPIO
|
||||
|
||||
COPY main.py .
|
||||
|
||||
ENV LUNA_API_TOKEN="luna-secret-2026"
|
||||
# Use environment variables from .env file at runtime instead of hardcoding
|
||||
# ENV LUNA_API_TOKEN removed
|
||||
|
||||
# We'll need to mount the host's script if we want to run blinking from the container,
|
||||
# but for now let's just expose the stats.
|
||||
|
||||
Reference in New Issue
Block a user