Put the resources in the package
This commit is contained in:
parent
505e7521d4
commit
476481c5f8
3 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,6 @@ RUN python -m venv /venv
|
|||
# Copy only the necessary files to build/install the python package
|
||||
COPY pyproject.toml poetry.lock /app/
|
||||
COPY mwmbl /app/mwmbl
|
||||
COPY resources /app/resources
|
||||
|
||||
# Working directory is /app
|
||||
# Use pip to install the mwmbl python package
|
||||
|
|
Can't render this file because it is too large.
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
import pandas as pd
|
||||
|
||||
|
||||
TERMS_PATH = Path(__file__).parent.parent.parent / 'resources' / 'mwmbl-crawl-terms.csv'
|
||||
TERMS_PATH = Path(__file__).parent.parent / 'resources' / 'mwmbl-crawl-terms.csv'
|
||||
|
||||
|
||||
class Completer:
|
||||
|
|
Loading…
Reference in a new issue