From dac058060e596c7c30e4cd179d60f36e1011ef25 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 26 Mar 2026 18:54:27 +0100 Subject: [PATCH] Remove hardcoded API Token from Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8f1d81c..f7382b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.