updated init script and docker file for pair functions

This commit is contained in:
2022-08-18 11:56:56 -04:00
parent 91e09709e0
commit 04200b41ce
2 changed files with 7 additions and 5 deletions

View File

@@ -7,4 +7,8 @@ RUN apt-get -y install python3 \
RUN python3 -m pip install sentence-transformers
ADD init.sql /docker-entrypoint-initdb.d
ADD ./init.sql /docker-entrypoint-initdb.d/init.sql
RUN chown postgres:postgres /docker-entrypoint-initdb.d/init.sql
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 5432
CMD ["postgres"]