diff --git a/Dockerfile b/Dockerfile index 43e110ff..ba35b459 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,13 +18,15 @@ RUN apt-get update && \ RUN pip install --no-cache-dir -U pip; \ pip install --no-cache-dir poetry==1.8.3 +WORKDIR /app + +COPY LICENSE.txt . COPY pyproject.toml . COPY poetry.lock . RUN poetry config virtualenvs.create false && \ poetry --no-cache install --no-root --without dev # Copy code and pre-made data to the /app directory, where the bot will be run from -WORKDIR /app COPY canary canary COPY data data diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index bae6f261..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include canary/Martlet.schema diff --git a/pyproject.toml b/pyproject.toml index 8827235f..ab87a5ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,9 @@ authors = [] packages = [ { include = "canary" }, ] +include = [ + "canary/Martlet.schema", +] [tool.poetry.scripts] canary = "canary.main:main"