~dricottone/container-images

ref: 8f164de44fcaf883fddeb5d12e5b6fed065eb0e3 container-images/srht-todo-core/Dockerfile -rw-r--r-- 367 bytes
8f164de4Dominic Ricottone Addendum to re-fixing encryption 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 todo.sr.ht py3-srht py3-gunicorn

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

CMD ["gunicorn", "todosrht.app:app", "-b", "127.0.0.1:5003", "-c", "/etc/sr.ht/todo.sr.ht.gunicorn.conf.py"]