This commit is contained in:
2026-03-13 13:22:46 +00:00
parent cf7b70b21e
commit 97a9f3fd9a
7 changed files with 571 additions and 35 deletions
+4 -4
View File
@@ -10,8 +10,8 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
COPY versions.json .
# Expose port
EXPOSE 5000
# Expose ports (API on 5000, Admin on 5001)
EXPOSE 5000 5001
# Run the application
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
# Run the application with both API and Admin servers
CMD ["python", "app.py"]