- Python 3.6+ (Change the Pipenv file for used version)
- Internet connection
- Pipenv (commabd:
pip install pipenv
)
cd <dir>
pipenv shell
pipenv install
The app uses username & password, taken from environment variables. so in order to configure: Copy the "example.env" to new ".env", and set the values to the variables inside.
pipenv run uvicorn server:app --host 0.0.0.0 --port 80
example tag: "matzov-ctf/website:1.0"
docker build -t <image_tag> .
docker run -p <local_port>:80 --name <container_name> <image_tag>