mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
fix: recursive .map file is not deleted in build script
This commit is contained in:
@@ -10,7 +10,7 @@ RUN git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git
|
|||||||
# build frontend
|
# build frontend
|
||||||
WORKDIR /cloudreve_builder/Cloudreve/assets
|
WORKDIR /cloudreve_builder/Cloudreve/assets
|
||||||
RUN yarn install --network-timeout 1000000
|
RUN yarn install --network-timeout 1000000
|
||||||
RUN yarn run build && rm -rf build/*.map
|
RUN yarn run build && find . -name "*.map" -type f -delete
|
||||||
|
|
||||||
# build backend
|
# build backend
|
||||||
WORKDIR /cloudreve_builder/Cloudreve
|
WORKDIR /cloudreve_builder/Cloudreve
|
||||||
|
|||||||
Reference in New Issue
Block a user