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 ( -