Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
r7wx committed Nov 24, 2021
1 parent 070e98e commit 61c3b67
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<p align="center">
Self hosted search engine for data leaks and password dumps
</p>
<div align="center">

[![CodeFactor](https://www.codefactor.io/repository/github/r7wx/dump-hub/badge)](https://www.codefactor.io/repository/github/r7wx/dump-hub)
</div>

---

Expand Down
2 changes: 1 addition & 1 deletion dump-hub-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY . .
RUN npm install
RUN npm run build

FROM nginx AS dump-hub-web
FROM nginx:1.21.4 AS dump-hub-web
WORKDIR /usr/share/nginx/html
COPY --from=react-builder /opt/dump-hub-app/build .
WORKDIR /etc/nginx
Expand Down
4 changes: 2 additions & 2 deletions dump-hub-app/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
}

.branding {
padding: 0px 10px !important;
min-width: 0px !important;
padding: 0 10px !important;
min-width: 0 !important;
}

.branding a {
Expand Down
2 changes: 0 additions & 2 deletions dump-hub-app/src/core/paginator/paginator.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #e8e8e8;
color: black;
text-decoration: none;
padding: 10px;
background: none !important;
border: none;
padding: 0 !important;
cursor: pointer;
}

Expand Down
4 changes: 2 additions & 2 deletions dump-hub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang AS dh-builder
FROM golang:1.17.3 AS dh-builder
WORKDIR /opt/dump-hub
COPY . .
RUN make

FROM busybox AS dump-hub-be
FROM busybox:stable AS dump-hub-be
WORKDIR /usr/bin
COPY --from=dh-builder /opt/dump-hub/bin/dump-hub .
ENTRYPOINT ["/usr/bin/dump-hub"]

0 comments on commit 61c3b67

Please sign in to comment.