Skip to content

Commit 73ffb94

Browse files
committed
Deploy CI CD on Test Server
1 parent dd4ac22 commit 73ffb94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ RUN python ./Backend/EcommerceInventory/manage.py collectstatic --no-input
4444
EXPOSE 80
4545
WORKDIR /code/Backend/EcommerceInventory
4646
# Command to run Django server
47-
CMD ["gunicorn", "EcommerceInventory.wsgi:application", "--bind", "0.0.0.0:80"]
47+
CMD ["gunicorn", "EcommerceInventory.wsgi:application", "--bind", "0.0.0.0:8000"]

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ services:
55
build:
66
context: .
77
dockerfile: Dockerfile # Adjust the path to your Dockerfile if necessary
8-
command: gunicorn Backend.EcommerceInventory.EcommerceInventory.wsgi:application --bind 0.0.0.0:80
8+
command: gunicorn Backend.EcommerceInventory.EcommerceInventory.wsgi:application --bind 0.0.0.0:8000
99
ports:
10-
- "80:80"
10+
- "8000:8000"
1111
depends_on:
1212
- db
1313

0 commit comments

Comments
 (0)