mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
Fix: Dockerfile - Rust building twice
This commit is contained in:
parent
537d63a11e
commit
8404480e57
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ RUN yarn workspace native-utils build
|
||||||
|
|
||||||
# Copy in the rest of the files to compile
|
# Copy in the rest of the files to compile
|
||||||
COPY . ./
|
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
|
# Trim down the dependencies to only those for production
|
||||||
RUN yarn workspaces focus --all --production
|
RUN yarn workspaces focus --all --production
|
||||||
|
|
Loading…
Reference in a new issue