Shifted to flask

This commit is contained in:
2025-10-03 14:39:30 +10:00
parent 9bd19c8ac2
commit e453fa5559
23 changed files with 854 additions and 207 deletions
+6 -2
View File
@@ -1,13 +1,17 @@
FROM recoll
RUN apt-get update && apt-get -y install breeze-icon-theme python3-venv && apt-get clean
RUN apt-get -y install breeze-icon-theme python3-venv && apt-get clean
ARG SQUIRREL_VERSION=0.3.1
ARG SQUIRREL_VERSION=0.4.0
COPY dist/squirrel-${SQUIRREL_VERSION}-py3-none-any.whl squirrel-${SQUIRREL_VERSION}-py3-none-any.whl
RUN python3 -m venv --system-site-packages /opt/squirrel
RUN /opt/squirrel/bin/pip install squirrel-${SQUIRREL_VERSION}-py3-none-any.whl
RUN /opt/squirrel/bin/pip install gunicorn
COPY squirrel-cmd /opt/squirrel/bin/squirrel
ENV SQUIRREL_CONFIG /etc/squirrel/config.json
EXPOSE 8000