diff --git a/.gitignore b/.gitignore index 39ecbfe..46059f8 100644 --- a/.gitignore +++ b/.gitignore @@ -161,5 +161,6 @@ cython_debug/ # Visual Studio Code .vscode/ +.DS_Store features.conf diff --git a/quote-semantic-search/Dockerfile-quote-search-preview b/quote-semantic-search/Dockerfile-quote-search-preview new file mode 100644 index 0000000..af296b4 --- /dev/null +++ b/quote-semantic-search/Dockerfile-quote-search-preview @@ -0,0 +1,16 @@ +# syntax=docker/dockerfile:1.7-labs +FROM ubuntu:22.04 + +RUN apt-get update \ + && apt-get install -y python3 python3-pip \ + && pip3 install setuptools sql + +RUN mkdir /quote-search +COPY ./quote-search /quote-search +COPY --parents ./container-volumes/quote-search/data/quotes.csv.tgz . + +WORKDIR /quote-search +RUN python3 -m pip install -r requirements.txt --extra-index-url https://aerospike.jfrog.io/artifactory/api/pypi/aerospike-pypi-dev/simple + +ENTRYPOINT ["waitress-serve"] +CMD ["--host=0.0.0.0", "--port=8080", "--threads=32", "quote_search:app"] \ No newline at end of file