Compare commits

..

2 Commits

Author SHA1 Message Date
55cff2f408 Merge pull request 'chore(docker): change application port from 8000 to 8080' (#11) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/11
2025-11-23 14:02:57 +00:00
36b5bb14b3 chore(docker): change application port from 8000 to 8080
Update Dockerfile to expose and bind Gunicorn to port 8080 instead of 8000. This aligns the container port configuration with the expected deployment environment requirements.

Changes:
- Update EXPOSE directive to port 8080
- Update Gunicorn bind address to 0.0.0.0:8080
2025-11-23 14:02:30 +00:00

View File

@ -24,7 +24,7 @@ COPY . .
RUN python manage.py collectstatic --noinput
# Expose port
EXPOSE 8000
EXPOSE 8080
# Run migrations and start Gunicorn
CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8000 --workers 3"
CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8080 --workers 3"