File tree 2 files changed +4
-17
lines changed
2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
19
19
# Copy pyproject.toml and other required files
20
20
COPY pyproject.toml README.md LICENSE.md Makefile SECURITY.md /app/
21
21
22
- # Install pip, setuptools, and wheel
23
- RUN python -m pip install --upgrade pip setuptools wheel poetry
24
-
25
- # Install dependencies listed in pyproject.toml
26
- RUN poetry config virtualenvs.in-project true # Use .venv inside the project directory
27
- RUN poetry install --no-root
22
+ # Install pip, setuptools, wheel, and build
23
+ RUN python -m pip install --upgrade pip setuptools wheel build
28
24
29
25
# Copy the entire project into the container
30
26
COPY . /app
31
27
32
- # Ensure the CLI script is installed and accessible
33
- RUN poetry build && pip install dist/*.whl
34
-
35
- # Set the PATH to include Poetry's virtual environment
36
- ENV PATH="/app/.venv/bin:$PATH"
28
+ # Build the package and install the wheel
29
+ RUN python -m build && pip install dist/*.whl
37
30
38
31
# Keep the container running with a long-running process
39
32
CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change @@ -65,9 +65,3 @@ test = [
65
65
[tool .black ]
66
66
line-length = 88
67
67
target-version = [' py311' ]
68
-
69
- [tool .poetry ]
70
- packages = [
71
- { include = " fandango" , from = " src" },
72
- { include = " evaluation" , from = " evaluation" }
73
- ]
You can’t perform that action at this time.
0 commit comments