Files
workflows-py/examples/docker/Dockerfile
Massimiliano Pippi 419e90dd34 feat: add startup script to ease server startup in Docker (#38)
* add entrypoint and example

* fix dockerfile

* do not hardcode the server instance name

* add unit tests

* revert test commit, ready to ship
2025-07-30 19:46:12 +02:00

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" ]