Put the resources in the package

This commit is contained in:
Daoud Clarke 2022-06-17 23:32:43 +01:00
parent 505e7521d4
commit 476481c5f8
3 changed files with 1 additions and 2 deletions

View file

@ -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

View file

Can't render this file because it is too large.

View file

@ -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: