-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Evan J edited this page Sep 29, 2021
·
7 revisions
- Clone the repo by running
$ git clone https://github.com/ejach/InventoryApplication.git
-
cd
into the cloned directory$ cd InventoryApplication
- Install the requirements
$ pip install -r requirements.txt
docker run -it -e host=<host> -e port=<port> -e db_file=<db_file> -e db=<db> ghcr.io/ejach/inventoryapplication:latest
- Change the environment variables to your liking in
.env
:
host=localhost
port=8000
db_file=database.db
db=parts
- Build the image using the existing
Dockerfile
by running$ docker build -t inventoryapplication .
- Run the newly created image using
$ docker run inventoryapplication