Skip to content

Commit df9a274

Browse files
committed
Deploy CI CD on Test Server
1 parent 36f33f6 commit df9a274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ RUN python manage.py collectstatic --no-input
4444
EXPOSE 80
4545

4646
# Command to run Django server
47-
CMD ["python", "manage.py", "runserver", "0.0.0.0:80"]
47+
CMD ["gunicorn", "--chdir", "Backend/EcommerceInventory", "EcommerceInventory.wsgi:application", "--bind", "0.0.0.0:80"]

0 commit comments

Comments
 (0)