Compare commits
2 Commits
8f5a97f18e
...
55cff2f408
| Author | SHA1 | Date | |
|---|---|---|---|
| 55cff2f408 | |||
| 36b5bb14b3 |
@ -24,7 +24,7 @@ COPY . .
|
|||||||
RUN python manage.py collectstatic --noinput
|
RUN python manage.py collectstatic --noinput
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 8000
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run migrations and start Gunicorn
|
# 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"
|
||||||
Loading…
Reference in New Issue
Block a user