Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaviara-14/dockerize-a-django-application
https://github.com/kaviara-14/dockerize-a-django-application
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaviara-14/dockerize-a-django-application
- Owner: kaviara-14
- Created: 2024-09-07T05:38:11.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T01:33:27.000Z (2 months ago)
- Last Synced: 2024-09-08T06:43:54.404Z (2 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerize-a-Django-Application
This repository contains a Docker setup for a Django application, allowing you to easily build and deploy your Django project within a containerized environment.
### 1. Build the Docker Image
Build the Docker image using the provided Dockerfile
docker build -t my-django-app .
### 2. Run the Docker container
Once the image is built, you can run the Django app inside a Docker container:docker run -p 8080:8000 my-django-app
### 3. Access the Application
Your Django application will be running at
http://localhost:8080![Screenshot 2024-09-07 110421](https://github.com/user-attachments/assets/056a571a-a9eb-4038-95fd-4980c530779d)