We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c48e10 commit cb6e9edCopy full SHA for cb6e9ed
tests/Dockerfile
@@ -3,9 +3,15 @@ FROM python:$python_version
3
4
ENV PYTHONDONTWRITEBYTECODE True
5
6
-RUN mkdir -p /test
+RUN mkdir -p /test/datadog_lambda
7
WORKDIR /test
8
9
+# Copy minimal subset of files to make pip install succeed and be cached (next docker builds will be way faster)
10
+COPY setup.py .
11
+COPY README.md .
12
+COPY datadog_lambda/__init__.py datadog_lambda/__init__.py
13
+
14
+RUN pip install .[dev]
15
16
# Install datadog-lambda with dev dependencies from local
17
COPY . .
-RUN pip install .[dev]
0 commit comments