~dricottone/container-images

ref: 241a5a46691c000c17290148c1b0998c4ae656a7 container-images/srht-meta-core/Dockerfile -rw-r--r-- 367 bytes
241a5a46Dominic Ricottone Minor adjustments to documentation 1 year, 5 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"]