Allow you to create your own promptflow python base images
Project description
Promptflow python image bundle
This bundle package provides a way to use your own base images to build and run promptflow-python, and build high-quality LLM apps with prompt flow package.
Example usage:
# Choose different python base image
FROM python:3.11
# Required: install runit and procps
RUN apt-get update && apt-get install -y runit procps \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install promptflow-python-bundle
RUN pip install -U promptflow-python-bundle
# Install promptflow to ensure forward compatibility. It will be phased out in the future.
RUN pip install promptflow
# Set port
ENV PORT 8000
EXPOSE $PORT
CMD ["pfapp"]
Currently, we only support Ubuntu
and Debian
based images, and have verified both AzureML base images
and popular images like ubuntu:22.04
, debian:11
, python:3.10
, continuumio/miniconda3:23.3.1-0
, nginx:stable
, etc.
If your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file promptflow_python_bundle-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: promptflow_python_bundle-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb93dd68dfde7f284e4d0238075b3215631275ff67a0c8d75bbf445f73e2cbb |
|
MD5 | 9fd999231155297e81d0b5d5ac691caf |
|
BLAKE2b-256 | 8df02103e0d4ee9b8fff24f6d2ca8d16991f455052b45ec2493895fece4a6cdc |