Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit 8b8b774

Browse files
committed
Fix docker container
1 parent 99a7a56 commit 8b8b774

3 files changed

Lines changed: 5 additions & 155 deletions

File tree

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ENV CONFIG_FILE=./instance/config.yaml
1616
# copy code
1717
RUN mkdir -p /srv/graphsense-rest/
1818
COPY gsrest /srv/graphsense-rest/gsrest
19-
COPY openapi_server /srv/graphsense-rest/openapi_server
2019
COPY pyproject.toml /srv/graphsense-rest/
2120
COPY uv.lock /srv/graphsense-rest/
2221
COPY README.md /srv/graphsense-rest/
@@ -64,7 +63,4 @@ RUN mkdir -p gsrest/plugins
6463

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

67-
CMD find gsrest/plugins -name requirements.txt -exec /srv/graphsense-rest/.venv/bin/python -m pip install -r {} \; && gunicorn \
68-
-c /srv/graphsense-rest/gunicorn-conf.py \
69-
"gsrest:main('${CONFIG_FILE}')" \
70-
--worker-class aiohttp.GunicornWebWorker
66+
CMD ["sh", "-c", "find gsrest/plugins -name requirements.txt -exec /srv/graphsense-rest/.venv/bin/python -m pip install -r {} \\; && gunicorn -c /srv/graphsense-rest/gunicorn-conf.py \"gsrest.app:create_app('$CONFIG_FILE')\" --worker-class uvicorn.workers.UvicornWorker"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies = [
1515
"asgi-lifespan>=2.1.0",
1616
"async-lru>=2.0.4",
1717
"fastapi>=0.115.0",
18-
"graphsense-lib[conversions,tagpacks]>=2.8.9",
18+
"graphsense-lib[conversions,tagstore]>=2.8.18",
1919
"httpx>=0.27.0",
2020
"python-dateutil>=2.9.0",
2121
"redis>=7.1.0",

0 commit comments

Comments
 (0)