fix filed prod build errors
This commit is contained in:
parent
772c5b9bf2
commit
830677cc0e
|
@ -6,7 +6,7 @@ COPY filed .
|
||||||
COPY ./.git ./.git
|
COPY ./.git ./.git
|
||||||
|
|
||||||
RUN apk add --no-cache git musl-dev upx nodejs yarn && \
|
RUN apk add --no-cache git musl-dev upx nodejs yarn && \
|
||||||
yarn global add uglify-js@3.17.4
|
yarn global add uglify-js@3.17.4 html-minifier
|
||||||
|
|
||||||
RUN cargo b -r
|
RUN cargo b -r
|
||||||
RUN strip target/release/filed && upx --best target/release/filed
|
RUN strip target/release/filed && upx --best target/release/filed
|
||||||
|
|
Loading…
Reference in New Issue