Skip to content

Commit

Permalink
fix: bad Dockerfile workdir timing + copy in license (#614)
Browse files Browse the repository at this point in the history
rm now-unused MANIFEST.in
  • Loading branch information
davidlougheed authored Sep 7, 2024
1 parent c7e9c72 commit eb486d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ authors = []
packages = [
{ include = "canary" },
]
include = [
"canary/Martlet.schema",
]

[tool.poetry.scripts]
canary = "canary.main:main"
Expand Down

0 comments on commit eb486d0

Please sign in to comment.