From 8404480e572051fbee3a8f75e1db5d4c977eedc5 Mon Sep 17 00:00:00 2001 From: Anthial Date: Wed, 2 Aug 2023 20:49:00 +0200 Subject: [PATCH] Fix: Dockerfile - Rust building twice --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6bd451ae7..bb933f024 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ RUN yarn workspace native-utils build # Copy in the rest of the files to compile COPY . ./ -RUN env NODE_ENV=production sh -c "yarn workspaces foreach --exclude native-utils run build && yarn gulp" +RUN env NODE_ENV=production sh -c "yarn workspace iceshrimp-js run build && yarn workspaces foreach --exclude native-utils --include sw --include client --include backend --include megalodon run build && yarn gulp" # Trim down the dependencies to only those for production RUN yarn workspaces focus --all --production