Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:3-alpine
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we do need to force Python version 3.7.9 here. So, try this instead:

FROM python:3.7.9-alpine

RUN apk add --no-cache git gcc libxml2-dev musl-dev libxslt-dev g++ re2-dev libffi-dev libressl-dev patch \
&& ln -s /usr/include/libxml2/libxml /usr/include/libxml \
&& pip3 install git+https://github.com/ludios/grab-site.git
WORKDIR /data
ENTRYPOINT ["grab-site"]