diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..90fe8e80 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +* +!tests/slo +!ydb/ +!README.md +!requirements.txt +!pyproject.toml +!setup.py \ No newline at end of file diff --git a/tests/slo/Dockerfile b/tests/slo/Dockerfile index e705e624..7a8cc494 100644 --- a/tests/slo/Dockerfile +++ b/tests/slo/Dockerfile @@ -1,7 +1,9 @@ -FROM python:3.8 +FROM python:3.8-slim COPY . /src WORKDIR /src -RUN python -m pip install --upgrade pip && python -m pip install -e . && python -m pip install -r tests/slo/requirements.txt +RUN python -m pip install --no-cache-dir --upgrade pip && \ + python -m pip install --no-cache-dir -e . && \ + python -m pip install --no-cache-dir -r tests/slo/requirements.txt WORKDIR tests/slo ARG SDK_SERVICE ENV SDK_SERVICE=$SDK_SERVICE