From: Dessalines Date: Tue, 9 Apr 2019 22:33:49 +0000 (-0700) Subject: Navbar fix X-Git-Url: http://these/git/%7B%60%24%7BarchiveUrl%7D/static/%24%7Bsite?a=commitdiff_plain;h=698f3639f2212fab8e3e68cd07d9f63bcf3ed179;p=lemmy.git Navbar fix --- diff --git a/Dockerfile b/Dockerfile index 9a7caccd..b4478d19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ RUN cd /app/ui && yarn && yarn build FROM rust:1.33 as rust COPY server /app/server +WORKDIR /app/server COPY --from=node /app/ui/dist /app/dist -RUN cd /app/server && cargo build --release +RUN cargo build --release RUN mv /app/server/target/release/lemmy /app/ -WORKDIR /app/ EXPOSE 8536 diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx index a9d95362..5c51b699 100644 --- a/ui/src/components/navbar.tsx +++ b/ui/src/components/navbar.tsx @@ -40,7 +40,7 @@ export class Navbar extends Component { // TODO toggle css collapse navbar() { return ( -