build: limit files to include into docker image
This commit is contained in:
parent
4faf3c2fee
commit
0db958e936
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user