Skip to content

Commit a47d6d3

Browse files
authored
Update dockerfile and add single case scenario test (#12)
1 parent 2f9753a commit a47d6d3

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ENV PYTHONFAULTHANDLER=1 \
88
PIP_DEFAULT_TIMEOUT=100 \
99
POETRY_VERSION=1.5.1
1010

11+
RUN apt update
12+
RUN apt install -y wget
13+
1114
RUN pip install "poetry==$POETRY_VERSION"
1215

1316
# Copy only requirements to cache them in docker layer
@@ -21,5 +24,7 @@ RUN poetry config virtualenvs.create false \
2124
# Creating folders, and files for a project:
2225
COPY . /code
2326

27+
RUN pip install "boto3"
28+
2429
CMD ["python"]
2530

experiments/configurations/redis-hnsw-single-node.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
[
2+
{
3+
"name": "redis-test",
4+
"engine": "redis",
5+
"algorithm": "hnsw",
6+
"connection_params": {},
7+
"collection_params": {
8+
"hnsw_config": { "M": 16, "EF_CONSTRUCTION": 128 }
9+
},
10+
"search_params": [
11+
{ "parallel": 1, "search_params": { "ef": 64 } }
12+
],
13+
"upload_params": { "parallel": 16 }
14+
},
215
{
316
"name": "redis-hnsw-m-16-ef-128",
417
"engine": "redis",

0 commit comments

Comments
 (0)