refactor major

This commit is contained in:
www
2020-12-02 00:04:39 +00:00
parent 58be5c779a
commit 894a99cdef
110 changed files with 20639 additions and 155 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
from python:3.8-alpine
WORKDIR /app
RUN apk update && apk add --no-cache --virtual .build-deps ca-certificates gcc linux-headers g++ libressl-dev musl-dev libffi-dev libxslt-dev libxml2-dev
COPY ./requirements.txt .
run apk add libmagic
run pip install --upgrade pip && pip install -r requirements.txt
COPY . .
CMD ["python","test2.py"]