Shifted to flask
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user