Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ RUN cargo chef cook --workspace --recipe-path recipe.json

RUN mkdir -p josh-ui
COPY josh-ui/package.json josh-ui/package-lock.json josh-ui/
RUN cd josh-ui && npm install
RUN cd josh-ui && npm install --legacy-peer-deps

FROM dev-cache AS build

Expand Down
3 changes: 2 additions & 1 deletion josh-ui/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ use npm_rs::*;
fn main() {
let exit_status = NpmEnv::default()
.with_env("PUBLIC_URL", "/~/ui")
.with_env("TSC_COMPILE_ON_ERROR", "true")
.init_env()
.install(None)
.install(Some(&["--legacy-peer-deps"]))
.run("build")
.exec();

Expand Down
Loading