From 5b8b317e8950a1d0f6466a4715cead37af7621f7 Mon Sep 17 00:00:00 2001 From: "Max R. Carrara" Date: Sat, 16 Aug 2025 18:40:14 +0200 Subject: [PATCH] server: dockerfile: add todos for improvements Signed-off-by: Max R. Carrara --- wien_talks/wien_talks_server/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wien_talks/wien_talks_server/Dockerfile b/wien_talks/wien_talks_server/Dockerfile index 33ec119..0607bb4 100644 --- a/wien_talks/wien_talks_server/Dockerfile +++ b/wien_talks/wien_talks_server/Dockerfile @@ -1,6 +1,7 @@ # Build stage FROM dart:3.5.0 AS build WORKDIR /app +# TODO: more fine-grained building COPY . . # Install dependencies and compile the server executable @@ -23,6 +24,7 @@ COPY --from=build /runtime/ / COPY --from=build /app/bin/server server # Copy configuration files and resources +# TODO: don't copy entire config dir, only what's needed COPY --from=build /app/config/ config/ COPY --from=build /app/web/ web/ COPY --from=build /app/migrations/ migrations/