From c0237c38f231c6e53869155526ca497aabe41681 Mon Sep 17 00:00:00 2001 From: Alice GG Date: Wed, 14 Feb 2024 17:36:12 +0100 Subject: [PATCH] Fix build --- Dockerfile | 2 +- Dockerfile-armv7 | 2 +- frontend/src/pages/Directory/index.jsx | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index a666952..96fe067 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ FROM ubuntu:latest WORKDIR /app COPY --from=0 /backend/mikochi ./ -COPY --from=1 /frontend/build/ ./static/ +COPY --from=1 /frontend/dist/ ./static/ EXPOSE 8080 diff --git a/Dockerfile-armv7 b/Dockerfile-armv7 index 0cf5b87..be6b347 100644 --- a/Dockerfile-armv7 +++ b/Dockerfile-armv7 @@ -9,7 +9,7 @@ FROM ubuntu:latest WORKDIR /app COPY --from=0 /backend/mikochi ./ -COPY ./frontend/build/ ./static/ +COPY ./frontend/dist/ ./static/ EXPOSE 8080 diff --git a/frontend/src/pages/Directory/index.jsx b/frontend/src/pages/Directory/index.jsx index fadc9e3..3d553bd 100644 --- a/frontend/src/pages/Directory/index.jsx +++ b/frontend/src/pages/Directory/index.jsx @@ -95,11 +95,6 @@ const Directory = () => {
{ - setSearchQuery(search); - setCompare("none"); - setRefresh(refresh + 1); - }} />