Clarifying files needed for wheel build. RE:#1952
This commit is contained in:
parent
faf8b06b63
commit
fdf0afdab0
|
@ -3,7 +3,11 @@
|
|||
# Build the InVEST wheel in a separate container stage
|
||||
FROM debian:12.11 AS build
|
||||
RUN apt update && apt install -y python3 python3-dev python3-pip python3-build build-essential git python3.11-venv libgdal-dev
|
||||
ADD . /invest
|
||||
|
||||
# only copy in the files needed for building the wheel
|
||||
ADD src /invest/src
|
||||
ADD pyproject.toml /invest/pyproject.toml
|
||||
ADD setup.py /invest/setup.py
|
||||
RUN cd /invest && python3 -m build
|
||||
|
||||
# Create the container for distribution that has runtime dependencies.
|
||||
|
|
Loading…
Reference in New Issue