mirror of
https://github.com/run-llama/workflows-py.git
synced 2026-07-19 16:53:35 -04:00
419e90dd34
* add entrypoint and example * fix dockerfile * do not hardcode the server instance name * add unit tests * revert test commit, ready to ship
17 lines
335 B
Docker
17 lines
335 B
Docker
FROM python:3.13-alpine3.22
|
|
|
|
COPY . /opt/app
|
|
WORKDIR /opt/app
|
|
|
|
# Install system deps
|
|
RUN apk add --no-cache git
|
|
|
|
# Install workflows
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Default configuration, override with "docker run -e NAME=value"
|
|
ENV SERVER_HOST=0.0.0.0
|
|
ENV SERVER_PORT=8080
|
|
|
|
CMD [ "python", "-m", "workflows.server", "app.py" ]
|