~dricottone/container-images

ref: 52a7c8091b952688aa3a9dd0392a5a5634887919 container-images/srht-meta-core/Dockerfile -rw-r--r-- 367 bytes
52a7c809Dominic Ricottone Docs update 1 year, 3 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"]