mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-03 09:33:42 +02:00
Use pyyaml from alpine package
This commit is contained in:
parent
192812bdc5
commit
e8dba5a74e
10
Dockerfile
10
Dockerfile
|
@ -1,14 +1,14 @@
|
|||
FROM alpine:3.15.6
|
||||
FROM alpine:3.16
|
||||
|
||||
WORKDIR /workdir
|
||||
|
||||
ADD requirements.txt /workdir/
|
||||
|
||||
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
|
||||
echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/main/" >> /etc/apk/repositories && \
|
||||
echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories && \
|
||||
apk --update --no-cache add ca-certificates chromium chromium-chromedriver py3-cryptography \
|
||||
python3-dev py3-grpcio py3-wheel py3-pip py3-lxml \
|
||||
build-base git libxml2 libxml2-dev libxslt libxslt-dev libffi-dev openssl-dev cargo && \
|
||||
python3-dev py3-grpcio py3-wheel py3-pip py3-lxml py3-yaml \
|
||||
build-base git icu-libs libxml2 libxml2-dev libxslt libxslt-dev libffi-dev openssl-dev cargo && \
|
||||
pip install -r requirements.txt && \
|
||||
apk del build-base
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ pyasn1-modules==0.2.8
|
|||
pycparser==2.21
|
||||
pyOpenSSL==22.1.0
|
||||
pytz==2021.3
|
||||
PyYAML==5.4.1
|
||||
redis==3.5.3
|
||||
requests==2.26.0
|
||||
responses==0.13.3
|
||||
|
|
Loading…
Reference in a new issue