-
Notifications
You must be signed in to change notification settings - Fork 0
shahaparan/docker-django
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
--- setup for windows --- py -m venv venv Set-ExecutionPolicy Unrestricted -Scope CurrentUser [powershell] .\venv\Scripts\activate .\venv\Scripts\deactivate.bat pip list pip install django pip uninstall django pip freeze > requirements.txt django-admin startproject core . py manage.py runserver [windows] Dockerfile: FROM python:3.8-slim-buster WORKDIR /app COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt COPY . . CMD [ "python3", "manage.py", "runserver", "0.0.0.0:8000" ] ---Docker Run----- docker build --tag python-django . docker run --publish 8000:8000 python-django
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published