From f0b0d090aadd75a882a99e20a0c86120ee66344d Mon Sep 17 00:00:00 2001 From: Abigail Gold Date: Sat, 9 Nov 2019 01:48:00 -0500 Subject: [PATCH 1/2] add cython, change FROM to alpine 3.10 --- Dockerfile | 3 ++- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc7dd48..0c352dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine +FROM alpine:3.10 COPY . /app WORKDIR /app @@ -20,6 +20,7 @@ RUN \ libressl \ py3-lxml \ py3-pip \ + cython \ python3 && \ echo "**** install pip packages ****" && \ pip3 install -U pip setuptools wheel && \ diff --git a/requirements.txt b/requirements.txt index 65d4abd..eebe848 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ discord.py beautifulsoup4 -lxml +git+https://github.com/lxml/lxml@master#egg=lxml From 404e67a0c2bc4317f5a5015a1a8a55dd1d78f2fe Mon Sep 17 00:00:00 2001 From: Abigail Gold Date: Sat, 9 Nov 2019 02:02:46 -0500 Subject: [PATCH 2/2] back to the future --- Dockerfile | 1 - requirements.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c352dd..0690c44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,6 @@ RUN \ libressl \ py3-lxml \ py3-pip \ - cython \ python3 && \ echo "**** install pip packages ****" && \ pip3 install -U pip setuptools wheel && \ diff --git a/requirements.txt b/requirements.txt index eebe848..65d4abd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ discord.py beautifulsoup4 -git+https://github.com/lxml/lxml@master#egg=lxml +lxml