docker: include only necessary files and directories

this should make caching more powerful
This commit is contained in:
Sebastian Di Luzio 2025-04-17 18:55:35 +02:00
parent 1e0af423b2
commit dbc3f17427

View file

@ -16,7 +16,12 @@ RUN apt-get update && apt-get install -y\
qt6-tools-dev \
qt6-tools-dev-tools
COPY . /home/servatrice/code/
COPY ./CMakeLists.txt ./LICENSE ./README.md /home/servatrice/code/
COPY ./common /home/servatrice/code/common
COPY ./servatrice /home/servatrice/code/servatrice
COPY ./cmake /home/servatrice/code/cmake
COPY ./dbconverter /home/servatrice/code/dbconverter
WORKDIR /home/servatrice/code
WORKDIR build