feedleware/Containerfile

12 lines
450 B
Plaintext
Raw Normal View History

2026-06-18 22:34:04 +00:00
FROM alpine:latest
MAINTAINER Mattéo Delabre spam@delab.re
# RUN sysctl net.ipv4.ip_unprivileged_port_start=0
# RUN adduser --system feedleware
WORKDIR /root
COPY requirements.txt .
COPY feedleware feedleware
RUN apk add --update --no-cache py3-pip
RUN pip install --break-system-packages --root-user-action=ignore --no-cache --upgrade -r requirements.txt
# USER feedleware
CMD python -m gunicorn -b 0.0.0.0:80 --threads 2 'feedleware:create_app()'