A python package for Inferyx analytics tool
Project description
inferyx-genai Docker Build & Push Guide
What is this?
This is the GenAI module — a Python/FastAPI app running on port 8000.
Docker image: inferyxhub/inferyx-genai
How it works (the simple way)
Instead of building everything from scratch inside Docker (slow, downloads GBs of deps), we use the existing stable image as a base and just layer our updated code on top.
inferyxhub/inferyx-genai:1.0.0 ← existing stable base
+
your updated code (main.py, src/, requirements.txt)
=
inferyxhub/inferyx-genai:1.0.1 ← new version
This keeps the build fast (seconds, not minutes) and avoids dependency issues.
Dockerfile
Located at Dockerfile in this directory:
FROM inferyxhub/inferyx-genai:1.0.0
WORKDIR /app
COPY main.py .
COPY src/ inferyx_ai/
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
Steps to release a new version
1. Make your code changes
Edit main.py, files under src/, or requirements.txt as needed.
2. Build the image
cd /home/Aakash/git-inferyx/platform/framework-web/deploy/script/module
docker build -t inferyxhub/inferyx-genai:1.0.1 .
3. Login to Docker Hub (in your local terminal)
docker login
Enter your Docker Hub credentials for inferyxhub.
4. Push
docker push inferyxhub/inferyx-genai:1.0.1
For the next version (e.g. 1.0.2)
Update the FROM line in the Dockerfile to use the previous version as base:
FROM inferyxhub/inferyx-genai:1.0.1
Then build and push:
docker build -t inferyxhub/inferyx-genai:1.0.2 .
docker push inferyxhub/inferyx-genai:1.0.2
Notes
- App runs on port 8000
- Built on Python 3.12
ensure==1.0.4is required (not1.0.2) — conflict with theinferyxpackagedocker loginmust be run in a real terminal (not VS Code integrated terminal) as it needs interactive input
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inferyx-1.0.5.tar.gz.
File metadata
- Download URL: inferyx-1.0.5.tar.gz
- Upload date:
- Size: 236.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad6a5e434c11abce6e381513db93967509057f02a3deafdee152c66be6782320
|
|
| MD5 |
da8e937d22300ac70c276fa8c35f5e8c
|
|
| BLAKE2b-256 |
a4e39fc33c692cf6f61f8b007b3b111437005d598304b91b5653df3150255a5d
|
File details
Details for the file inferyx-1.0.5-py3-none-any.whl.
File metadata
- Download URL: inferyx-1.0.5-py3-none-any.whl
- Upload date:
- Size: 275.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dff6c797a62fb955de9118d308e313aeca90fe985f56d4168138388593b3eb4
|
|
| MD5 |
e4ba9e5102cf4273bdfaa4e171b11055
|
|
| BLAKE2b-256 |
e2cbfb86264ce0d777e2b0ec07b1d25b3e0c75a320f979e0ce305a8318a07987
|