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
// TODO toggle css collapse
navbar() {
return (
- <nav class="container navbar navbar-expand-sm navbar-light navbar-bg p-0 px-3">
+ <nav class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3">
<a title={version} class="navbar-brand" href="#">
<svg class="icon mr-2"><use xlinkHref="#icon-mouse"></use></svg>
Lemmy