Compare commits
2 Commits
55cff2f408
...
4fd018e97c
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fd018e97c | |||
| af4570d6d2 |
@ -24,7 +24,7 @@ COPY . .
|
||||
RUN python manage.py collectstatic --noinput
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8080
|
||||
EXPOSE 8081
|
||||
|
||||
# Run migrations and start Gunicorn
|
||||
CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8080 --workers 3"
|
||||
CMD sh -c "python manage.py migrate && gunicorn booking_system.wsgi:application --bind 0.0.0.0:8081 --workers 3"
|
||||
Loading…
Reference in New Issue
Block a user