https://github.com/kaviara-14/dockerize-a-django-application
Hosted a Django Application in Container using Docker
https://github.com/kaviara-14/dockerize-a-django-application
django-docker docker
Last synced: 5 months ago
JSON representation
Hosted a Django Application in Container using Docker
- Host: GitHub
- URL: https://github.com/kaviara-14/dockerize-a-django-application
- Owner: kaviara-14
- Created: 2024-09-07T05:38:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T01:33:27.000Z (10 months ago)
- Last Synced: 2025-01-11T14:49:04.151Z (6 months ago)
- Topics: django-docker, docker
- Language: Python
- Homepage:
- 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