Create, manage and sync anonymous Nitter feeds with Feetter https://feetter.r3d.red
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Feetter/Dockerfile

27 lines
563 B

FROM python:3.10-slim AS base
# Image to Build Dependencies
FROM base AS builder
WORKDIR /app
COPY ./requirements.txt /app
# Build Dependencies
# Python Dependencies
#RUN pip install --no-cache-dir --prefix=/install gunicorn
RUN pip install --no-cache-dir --prefix=/install -r requirements.txt
# Runtime Environment Image
FROM base
WORKDIR /app
# Runtime Dependencies
#RUN apk --no-cache add libxml2 libxslt
COPY --from=builder /install /usr/local
COPY . /app/
#RUN mkdir /app/data
EXPOSE 1111
CMD sanic feetter.app --host=0.0.0.0 --port=1111 --workers=4