Files
mail/docker-entrypoint.sh
Michael Czechowski c238d77562
Some checks failed
Build and publish / build (push) Failing after 19s
feat: extract mail from mp/mail — initial libreshop/mail
Source moved verbatim from mp/mail/ on 2026-04-29; mp was the first
concrete adapter consuming the libreshop toolkit. Builds and publishes
git.librete.ch/libreshop/mail on every main / v* push via the standard
.gitea/workflows/build.yml shared across libreshop components.
2026-04-29 17:48:32 +02:00

8 lines
137 B
Bash

#!/bin/sh
if [ "$ENVIRONMENT" = "production" ]; then
exec gunicorn -w 4 -b 0.0.0.0:2222 src.app:app
else
exec python3 src/app.py
fi