mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
docker build: adding Cython dependency and gcc
This commit is contained in:
parent
3150bf112f
commit
bbf92ba859
1 changed files with 5 additions and 2 deletions
|
|
@ -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"]
|
||||
CMD ["python3", "-m", "server", "server"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue