From 8bbbb119c07e110c4f18c573d9185a5aee31ab9e Mon Sep 17 00:00:00 2001 From: Alexandre Teles Date: Thu, 19 Oct 2023 18:45:54 -0300 Subject: [PATCH] fix(ci) install python deps --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9668e5c..b9a48bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,10 @@ WORKDIR /usr/src/app COPY . . +RUN apt update && \ + apt-get install build-essential libffi-dev libssl-dev openssl --no-install-recommends -y \ + && pip install --no-cache-dir -r requirements.txt + VOLUME persistance CMD [ "python3", "-m" , "sanic", "app:app", "--fast", "--access-logs", "--motd", "--noisy-exceptions", "-H", "0.0.0.0"]