Public | Automated Build

Last pushed: a month ago
Short Description
A small base image for services using SciPy.
Full Description


A small image with fully working SciPy and an infrastructure sufficient for
a simple web service.



Add application code and a runit script starting Gunicorn.

A basic derived Dockerfile could look as follows:

FROM wrwrwr/flask-scipy

COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY . /app
COPY /etc/service/app/run

The script needs to start the Gunicorn server:

#!/usr/bin/env bash

cd /app
gunicorn --config /etc/gunicorn/ app:app

Possible improvements

  • Strip the base (Debian) image from systemd, docs etc.
  • Or research NumPy on Alpine test errors and reconsider changing the base.
  • Compile ATLAS during build or allow compiling it for a chosen architecture.
Docker Pull Command
Source Repository