mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00
@@ -1,6 +1,6 @@
|
|||||||
# --------- install dependence -----------
|
# --------- install dependence -----------
|
||||||
FROM python:3.11-alpine AS python_base
|
FROM python:3.11-alpine AS python_base
|
||||||
ENV VERSION_RELEASE = Alpine3.11
|
ENV VERSION_RELEASE=Alpine3.11
|
||||||
# 安装make和g++
|
# 安装make和g++
|
||||||
RUN apk add --no-cache make g++ tar wget gperf automake libtool linux-headers
|
RUN apk add --no-cache make g++ tar wget gperf automake libtool linux-headers
|
||||||
|
|
||||||
@@ -14,8 +14,8 @@ RUN wget https://github.com/seccomp/libseccomp/releases/download/v2.5.5/libsecco
|
|||||||
make install && \
|
make install && \
|
||||||
pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple Cython && \
|
pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple Cython && \
|
||||||
pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple -r /app/requirements.txt && \
|
pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple -r /app/requirements.txt && \
|
||||||
cd src/python && \
|
cd /app/libseccomp-2.5.5/src/python && \
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
|
|
||||||
FROM node:20.14.0-alpine AS install
|
FROM node:20.14.0-alpine AS install
|
||||||
|
Reference in New Issue
Block a user