Update Dockerfile for changes
This commit is contained in:
parent
e2eb405083
commit
363103468e
2 changed files with 3 additions and 5 deletions
|
@ -35,9 +35,7 @@ COPY --from=builder /venv /venv
|
||||||
|
|
||||||
# Working directory is /app
|
# Working directory is /app
|
||||||
# Copying data and config into /app so that relative (default) paths in the config work
|
# Copying data and config into /app so that relative (default) paths in the config work
|
||||||
COPY data /app/data
|
# COPY data /app/data
|
||||||
COPY config /app/config
|
|
||||||
|
|
||||||
# Using the mwmbl-tinysearchengine binary/entrypoint which comes packaged with mwmbl
|
# Using the mwmbl-tinysearchengine binary/entrypoint which comes packaged with mwmbl
|
||||||
# TODO: fix the arguments for the recent changes
|
CMD ["/venv/bin/mwmbl-tinysearchengine", "--index", "data/index.tinysearch", "--terms", "data/mwmbl-crawl-terms.csv"]
|
||||||
CMD ["/venv/bin/mwmbl-tinysearchengine", "--config", "config/tinysearchengine.yaml"]
|
|
||||||
|
|
|
@ -74,4 +74,4 @@ requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
mwmbl-tinysearchengine = "mwmbl.tinysearchengine.app:main"
|
mwmbl-tinysearchengine = "mwmbl.main:run"
|
||||||
|
|
Loading…
Reference in a new issue