FediFetcher/Dockerfile

8 lines
244 B
Docker
Raw Permalink Normal View History

FROM python:3.11-alpine
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
RUN mkdir -p /app/artifacts/
COPY ./find_posts.py /app/
ENTRYPOINT ["python", "find_posts.py"]