fix: Update Dockerfile to use port 4096 instead of 4095 to avoid Docker network subnetting issues
This commit is contained in:
parent
449f513a68
commit
cc2e671168
@ -13,11 +13,11 @@ RUN pip install --no-cache-dir -r requirements-api.txt
|
||||
COPY . .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 4095
|
||||
EXPOSE 4096
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:4095/health || exit 1
|
||||
CMD curl -f http://localhost:4096/health || exit 1
|
||||
|
||||
# Run the application with timeout protection
|
||||
CMD ["timeout", "3600", "python", "app.py"]
|
||||
Loading…
x
Reference in New Issue
Block a user