From 1df83addfc42604685d2e5b3726a642610249b34 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Sat, 10 Aug 2024 14:59:00 +0800 Subject: [PATCH] update: add gcc --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9e027f258..055d37bae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,15 @@ WORKDIR /AstrBot COPY . /AstrBot/ +RUN apt-get update && apt-get install -y --no-install-recommends \ + gcc \ + build-essential \ + python3-dev \ + libffi-dev \ + libssl-dev \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + RUN python -m pip install -r requirements.txt EXPOSE 6185