19 lines
544 B
Docker
19 lines
544 B
Docker
FROM recoll
|
|
|
|
RUN apt-get -y install breeze-icon-theme python3-venv && apt-get clean
|
|
|
|
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
|
|
|
|
ENTRYPOINT ["/opt/squirrel/bin/squirrel"]
|