Skip to content

Docker files with sample Django 3.2.13 project and Python 3.10.2 alpine

Notifications You must be signed in to change notification settings

VetalM84/docker-django3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker files (tested on Windows 10)

Contains: python 3.10.2 alpine, Django 3.2.13

Project structure

  • app/
  • .dockerignore
  • Dockerfile
  • requirements.txt
  • docker-compose.yml

"app/" directory may contain created Django project files.

To build an image and start a container run this commands:

docker build . 
docker-compose build 

If you do not have any Django project created, run:

docker-compose run web django-admin startproject example .

Where "example" - name of the Django project will be created in "app" directory.

Finally, run the container.

docker-compose up

About

Docker files with sample Django 3.2.13 project and Python 3.10.2 alpine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published