Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0tonin committed Feb 14, 2024
1 parent 6533957 commit c0237c3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-armv7
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM ubuntu:latest

WORKDIR /app
COPY --from=0 /backend/mikochi ./
COPY ./frontend/build/ ./static/
COPY ./frontend/dist/ ./static/

EXPOSE 8080

Expand Down
5 changes: 0 additions & 5 deletions frontend/src/pages/Directory/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ const Directory = () => {
<Header
searchQuery={searchQuery}
setSearchQuery={setSearchQuery}
setSearchQuery={(search) => {
setSearchQuery(search);
setCompare("none");
setRefresh(refresh + 1);
}}
/>
<main>
<table>
Expand Down

0 comments on commit c0237c3

Please sign in to comment.