This commit is contained in:
hibobmaster 2023-04-18 01:22:37 +08:00
commit 3d7a5403fb
Signed by: bobmaster
SSH key fingerprint: SHA256:/vsYhVQlSvOFSZc4XFgGdImqJkIC6D5R9r6kNP+sJgQ
2 changed files with 74 additions and 1 deletions

View file

@ -2,7 +2,7 @@ FROM python:3.11-alpine as base
FROM base as builder
# RUN sed -i 's|v3\.\d*|edge|' /etc/apk/repositories
RUN apk update && apk add --no-cache gcc musl-dev libffi-dev
RUN apk update && apk add --no-cache gcc musl-dev libffi-dev git
COPY requirements.txt .
RUN pip install -U pip setuptools wheel && pip install --user -r ./requirements.txt && rm ./requirements.txt