Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
michielderoos committed Jan 12, 2023
1 parent 3216731 commit a644cbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM tiangolo/uwsgi-nginx-flask:python3.7

RUN apt update \
&& apt -y install gcc g++ libffi-dev libstdc++-8-dev python3-dev musl-dev libssl-dev curl bash
&& apt -y install gcc g++ libffi-dev python3-dev musl-dev libssl-dev curl bash

COPY ./app/requirements.txt /
COPY ./test_requirements.txt /

RUN cd / && pip install -r requirements.txt && pip install -r test_requirements.txt

RUN apt remove --purge -y gcc g++ libffi-dev libstdc++-8-dev python3-dev musl-dev libssl-dev
RUN apt remove --purge -y gcc g++ libffi-dev python3-dev musl-dev libssl-dev

RUN apt -y install libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info

Expand Down
3 changes: 2 additions & 1 deletion app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ weasyprint==51
web3==5.12.0
jinja2<3.1.0
itsdangerous==2.0.1
werkzeug==0.16.1
werkzeug==0.16.1
importlib-metadata==4.12.0
2 changes: 1 addition & 1 deletion eth_worker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ requests==2.24.0
sentry-sdk==0.19.2
SQLAlchemy==1.3.18
web3==5.12.0

importlib-metadata==4.12.0

0 comments on commit a644cbf

Please sign in to comment.