From 2e95d0bb85592498d08adab817b9dd6d8fe33e18 Mon Sep 17 00:00:00 2001 From: Aryan Bhosale Date: Tue, 17 Sep 2024 19:39:27 +0530 Subject: [PATCH] verbose --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c9c14ce..2c68531 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,17 @@ COPY . /app # Copy the pyproject.toml file COPY pyproject.toml . +# Install system dependencies needed for building Python packages +RUN apt-get update && apt-get install -y --no-install-recommends \ + build-essential \ + gcc \ + python3-dev + +# Upgrade pip and setuptools +RUN pip install --upgrade pip setuptools wheel + # Install the quartz_solar_forecast package in editable mode -RUN pip install -e . +RUN pip install -e . --verbose # Expose port 8000 and 8501 to the outside world EXPOSE 8000 8501