Skip to content

Commit 65725e0

Browse files
committed
fix: Update Dockerfile to use pyproject.toml instead of deleted requirements.txt
1 parent 6a98e42 commit 65725e0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile.operator

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN apt-get update && apt-get install -y \
1414
git \
1515
&& rm -rf /var/lib/apt/lists/*
1616

17-
# Copy requirements and install
18-
COPY requirements.txt .
19-
RUN pip install --no-cache-dir -r requirements.txt
17+
# Copy pyproject.toml and install
18+
COPY pyproject.toml .
19+
RUN pip install --no-cache-dir -e .
2020

2121
# Copy source code
2222
COPY . .
@@ -29,4 +29,4 @@ ENV PYTHONPATH=/app
2929
EXPOSE 8000
3030

3131
# Start the operator API
32-
CMD ["python", "-m", "src.api.main"]
32+
CMD ["python", "-m", "src.api.main"]

0 commit comments

Comments
 (0)