An open source, non-profit web search engine
Update Dockerfile for changes
Daoud Clarke363103468e67
diff --git a/Dockerfile b/Dockerfileindex bebe590..dc87ab9 100644--- a/Dockerfile+++ b/Dockerfile@@ -35,9 +35,7 @@ COPY --from=builder /venv /venv# Working directory is /app# Copying data and config into /app so that relative (default) paths in the config work-COPY data /app/data-COPY config /app/config+# COPY data /app/data# Using the mwmbl-tinysearchengine binary/entrypoint which comes packaged with mwmbl-# TODO: fix the arguments for the recent changes-CMD ["/venv/bin/mwmbl-tinysearchengine", "--config", "config/tinysearchengine.yaml"]+CMD ["/venv/bin/mwmbl-tinysearchengine", "--index", "data/index.tinysearch", "--terms", "data/mwmbl-crawl-terms.csv"]diff --git a/pyproject.toml b/pyproject.tomlindex 7cd87af..536f666 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -74,4 +74,4 @@ requires = ["poetry-core>=1.0.0"]build-backend = "poetry.core.masonry.api"[tool.poetry.scripts]-mwmbl-tinysearchengine = "mwmbl.tinysearchengine.app:main"+mwmbl-tinysearchengine = "mwmbl.main:run"