build: limit files to include into docker image

This commit is contained in:
Cyrille Nofficial 2022-11-02 13:56:41 +01:00
parent 4faf3c2fee
commit 0db958e936

View File

@ -20,7 +20,11 @@ FROM base as builder
RUN apt-get install -y git && \
pip3 install poetry==1.2.0 && \
poetry self add "poetry-dynamic-versioning[plugin]"
ADD . .
ADD poetry.lock .
ADD pyproject.toml .
ADD camera camera
ADD README.md .
RUN poetry build