Skip to main content

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


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

promptflow_python_bundle-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file promptflow_python_bundle-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for promptflow_python_bundle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9884f3d77ce2efe7e3dc0685828c748a1928f675b5229e865c40ccaac3773678
MD5 d4dcfcab5219260ea372d4b72a0d17b2
BLAKE2b-256 2a253962c59092a486b4572e3529c6304df8db9d0f5ca140b975aa0bc9df9cbc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page