feat: optimize multi platform image build (#754)
This commit is contained in:
parent
6a7a71af1f
commit
491d29cc87
6 changed files with 16 additions and 262 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM langgenius/base:1.0.1-bullseye-slim as langgenius-api
|
||||
FROM python:3.10-slim
|
||||
|
||||
LABEL maintainer="takatost@gmail.com"
|
||||
|
||||
|
|
@ -15,6 +15,9 @@ EXPOSE 5001
|
|||
|
||||
WORKDIR /app/api
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y bash curl wget vim gcc g++ python3-dev libc-dev libffi-dev
|
||||
|
||||
COPY requirements.txt /app/api/requirements.txt
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue