Skip to content

Commit ea1d66b

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 ["gunicorn", "--chdir", "Backend/EcommerceInventory", "EcommerceInventory.wsgi:application", "--bind", "0.0.0.0:80"]
47+
CMD ["gunicorn", "--chdir", "EcommerceInventory.wsgi:application", "--bind", "0.0.0.0:80"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ 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 EcommerceInventory.wsgi:application --bind 0.0.0.0:80
99
ports:
1010
- "80:80"
1111
depends_on:

0 commit comments

Comments
 (0)