~dricottone/container-images

ref: a7203db0a58e4c44171294e94198b73681f6312d container-images/srht-meta-core/Dockerfile -rw-r--r-- 367 bytes
a7203db0Dominic Ricottone Continuation of Postfix redesign 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
FROM registry.intra.dominic-ricottone.com/srht-core:latest

RUN apk add --no-cache meta.sr.ht py3-srht py3-gunicorn

# user `meta` is created by a post-installation hook in `meta.sr.ht`
# the UID/GID do not matter, so allow the hook to manage it
USER meta

CMD ["gunicorn", "metasrht.app:app", "-b", "127.0.0.1:5000", "-c", "/etc/sr.ht/meta.sr.ht.gunicorn.conf.py"]