From 0a8b1bc32f98a8b879e81cd8b068648a14612465 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Mon, 6 Mar 2023 13:57:54 -0800 Subject: [PATCH] clean up node modules and one file that we think is not needed Signed-off-by: Yee Hing Tong --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 028256a8e..fd3b89c57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,9 @@ RUN : \ && BASE_URL=/console yarn run build:prod \ && cp -R ./website/dist/* /app +RUN rm -rf /app/node_modules +RUN rm -f /app/client-stats.json + FROM gcr.io/distroless/nodejs LABEL org.opencontainers.image.source https://github.com/flyteorg/flyteconsole