Skip to content

Commit

Permalink
install plugin dependencies on first run in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Jan 2, 2024
1 parent 67bdf89 commit 05191ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ WORKDIR /srv/graphsense-rest

RUN find gsrest/plugins -name requirements.txt -exec pip install -r {} \;

CMD /usr/bin/gunicorn \
CMD find gsrest/plugins -name requirements.txt -exec pip install -r {} \; && /usr/bin/gunicorn \
-c /home/dockeruser/gunicorn-conf.py \
"openapi_server:main('./instance/config.yaml')" \
--worker-class aiohttp.GunicornWebWorker

0 comments on commit 05191ec

Please sign in to comment.