improved start sequence, fixed user update

This commit is contained in:
2025-04-09 09:48:02 -04:00
parent ae4cd12f97
commit e53e5004e1
6 changed files with 126 additions and 61 deletions

View File

@@ -18,5 +18,7 @@ COPY . .
# Expose RADIUS port (UDP)
EXPOSE 1812/udp
COPY wait-for-db.py .
# Run the RADIUS service
CMD ["python", "main.py"]
CMD ["sh", "-c", "python wait-for-db.py && python main.py"]