From bbf92ba859a8930f22c48b61718c4356b68e8e40 Mon Sep 17 00:00:00 2001 From: ZhymabekRoman Date: Sun, 28 Jul 2024 03:30:15 +0500 Subject: [PATCH] docker build: adding Cython dependency and gcc --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5cb4861..657e82b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ FROM python:3.12.3-slim +ENV DEBIAN_FRONTEND=noninteractive +RUN apt update && apt upgrade -y && apt install gcc -y && apt clean # && rm /var/lib/apt/lists/* + WORKDIR /app -RUN pip install --no-cache-dir wheel +RUN pip install --no-cache-dir wheel Cython COPY ./rl_string_helper ./rl_string_helper RUN pip3 install --no-cache-dir ./rl_string_helper @@ -23,4 +26,4 @@ RUN pip3 install --no-cache-dir -r requirements-fast.txt EXPOSE 7080 -CMD ["python3", "-m", "server", "server"] \ No newline at end of file +CMD ["python3", "-m", "server", "server"]