Skip to content

Commit 633d2e0

Browse files
committed
Remove useless external tools for pip install of requirements
1 parent c9c956d commit 633d2e0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ RUN apt-get update \
88
locales-all \
99
&& rm -rf /var/lib/apt/lists/* \
1010
&& python -m pip install --no-cache-dir -U \
11-
pip \
12-
pip-tools
11+
pip
1312

1413
# Copy pyproject.toml and its dependencies
1514
COPY pyproject.toml README.md /src/
1615
COPY src/great_project/__about__.py /src/src/great_project/__about__.py
1716

1817
# Install Python dependencies
19-
RUN pip-compile --strip-extras -o requirements.txt /src/pyproject.toml \
20-
&& pip install --no-cache-dir -r requirements.txt \
21-
&& rm requirements.txt
18+
RUN pip install --no-cache-dir /src
2219

2320
# Copy code + associated artifacts
2421
COPY src /src/src

0 commit comments

Comments
 (0)