diff --git a/docker/Dockerfile b/docker/Dockerfile index 2226f3fc5..78ed9568e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,8 +3,8 @@ # 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 .. -RUN python3 -m build +ADD .. /invest +RUN cd /invest && python3 -m build # Create the container for distribution that has runtime dependencies. FROM mambaorg/micromamba:2.1.1-debian12-slim