Skip to content

Commit

Permalink
Update dockerfile and add single case scenario test (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpozniak95 authored Dec 12, 2024
1 parent 2f9753a commit a47d6d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_VERSION=1.5.1

RUN apt update
RUN apt install -y wget

RUN pip install "poetry==$POETRY_VERSION"

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

RUN pip install "boto3"

CMD ["python"]

13 changes: 13 additions & 0 deletions experiments/configurations/redis-hnsw-single-node.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"name": "redis-test",
"engine": "redis",
"algorithm": "hnsw",
"connection_params": {},
"collection_params": {
"hnsw_config": { "M": 16, "EF_CONSTRUCTION": 128 }
},
"search_params": [
{ "parallel": 1, "search_params": { "ef": 64 } }
],
"upload_params": { "parallel": 16 }
},
{
"name": "redis-hnsw-m-16-ef-128",
"engine": "redis",
Expand Down

0 comments on commit a47d6d3

Please sign in to comment.