From b868e78e6f662f6de6727bdc1e3b7f1b6ce1b24c Mon Sep 17 00:00:00 2001 From: Ismoh <12631485+Ismoh@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:55:50 +0100 Subject: [PATCH] Update Dockerfile with dependency installations --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index d1de4b5..c434518 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,18 @@ # action will be executed in a python3 container FROM python:3.13.0a2-slim-bullseye + # copy requirements.txt to the container COPY requirements.txt /requirements.txt + # install dependencies +RUN apt-get update -y && \ + apt install -y --fix-broken && \ + apt-get install -y build-essential && \ + apt-get install -y build-essential libssl-dev libffi-dev python3-dev RUN pip install -r /requirements.txt + # copy main.py to the container COPY main.py /main.py + # run main.py CMD [ "python", "/main.py"] \ No newline at end of file