Hop uses Nixpacks for automatic, configless
deployments. You can write a custom
Dockerfile
if you don't want to use
Nixpacks.main.py
requirements.txt
pyproject.toml
Build Command
Depending on the dependency file detected in your project, a different command will be used to build your image.requirements.txt
requirements.txt
pyproject.toml
pyproject.toml
Pipfile
Pipfile
Start Command
Django
Django
If Django is detected, the following command will be used:
pyproject.toml
pyproject.toml
Otherwise
Otherwise
Versions
The following Python versions are available:- 3.11
- 3.10
- 3.9
- 3.8 (default)
- 3.7
- 2.7
Specifying a version
The version can be overridden by:- Setting the
NIXPACKS_PYTHON_VERSION
environment variable, or - Specifying the version in a
.python-version
file