Containers + Purpose
StreamZero SX Containers + Purpose.
Creating a Docker Container
Below is an example of a dockerfile to create a Docker image for some StreamZero SX application. The user is free to choose what base python image to use and then add StreamZero module and other libraries.
FROM python:3.9-alpine
#RUN pip install -i https://test.pypi.org/simple/ streamzero-sx==0.0.8 --extra-index-url https://pypi.org/simple/ streamzero-sx
RUN pip install streamzero-sx
COPY app.py utils.py
After the user have built an image and pushed it to a Docker image regitsry, they can run it in StreamZero SX Management UI.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified November 13, 2023: init (cb2a58c)