From 658795f5311d54f68dd0ed145569c3b0f284b463 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 9 Apr 2019 15:33:49 -0700 Subject: [PATCH] Navbar fix --- Dockerfile | 4 ++-- ui/src/components/navbar.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a7cacc..b4478d1 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 a9d9536..5c51b69 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 ( -