Skip to content

Commit 9eb6cbb

Browse files
authored
Changed Dockerfile and pyproject.toml to fix docker build issues (#269)
* Edited the Dockerfile, fixed dependency probs in pyproject.toml * Remodified pyproject.toml to keep optional dependencies and Docker file as well * added newline in pyproject.toml
1 parent 92755de commit 9eb6cbb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,11 @@ FROM python:3.11-slim
44
# Set the working directory in the container
55
WORKDIR /app
66

7-
# Copy the requirements.txt file
8-
COPY requirements.txt .
9-
10-
# Install any needed packages specified in requirements.txt
11-
RUN pip install --no-cache-dir -r requirements.txt
12-
137
# Copy the entire project directory (including quartz_solar_forecast)
148
COPY . /app
159

1610
# Install the quartz_solar_forecast package in editable mode
17-
RUN pip install -e .
11+
RUN pip install -e .[all]
1812

1913
# Expose port 8000 to the outside world
2014
EXPOSE 8000

0 commit comments

Comments
 (0)