Skip to content

Ismael-Valenzuela/Docker-python-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REQUIREMENTS

  • Python installed.
  • Docker installed.
  • An account in ngrok.

STEPS

  1. Copy your token of the ngrok account and create a .env file with the secret called NGROK_AUTH_TOKEN
  2. Use pipreqs to copy the requirements in a .txt in your project (pipreqs is a library from python):
    pip install pipreqs
    pipreqs [route-to-your-project] --force
  1. Execute the command:
docker compose up --build

This will give you two URLs. The localhost and the tunnel listening to the PORT 8000.

About

A docker python example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors