From 251c006a0e2ca21e3e0526c14fabf2ab1d417a45 Mon Sep 17 00:00:00 2001 From: Jettford Date: Wed, 11 Dec 2024 16:32:20 +0000 Subject: [PATCH] hardcoded docker change test --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9086cf17..7de8ce89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,23 +23,23 @@ RUN --mount=type=cache,id=build-apt-cache,target=/var/cache/apt \ rm -rf /var/lib/apt/lists/* # Grab libraries and load them -COPY --from=build /app/build/mariadbcpp/libmariadbcpp.so /usr/local/lib/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/mariadbcpp/libmariadbcpp.so /usr/local/lib/ RUN ldconfig # Server bins -COPY --from=build /app/build/*Server /app/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/*Server /app/ # Necessary suplimentary files -COPY --from=build /app/build/*.ini /app/configs/ -COPY --from=build /app/build/vanity/*.* /app/vanity/ -COPY --from=build /app/build/navmeshes /app/navmeshes -COPY --from=build /app/build/migrations /app/migrations -COPY --from=build /app/build/*.dcf /app/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/*.ini /app/configs/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/vanity/*.* /app/vanity/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/navmeshes /app/navmeshes +COPY --from=build /app/build/Linux-x86_64/GNU/Release/migrations /app/migrations +COPY --from=build /app/build/Linux-x86_64/GNU/Release/*.dcf /app/ # backup of config and vanity files to copy to the host incase # of a mount clobbering the copy from above -COPY --from=build /app/build/*.ini /app/default-configs/ -COPY --from=build /app/build/vanity/*.* /app/default-vanity/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/*.ini /app/default-configs/ +COPY --from=build /app/build/Linux-x86_64/GNU/Release/vanity/*.* /app/default-vanity/ # needed as the container runs with the root user # and therefore sudo doesn't exist