v1.2.0
This commit is contained in:
+4
-4
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user