]> Untitled Git - lemmy.git/blobdiff - docker/prod/Dockerfile
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
[lemmy.git] / docker / prod / Dockerfile
index 3a17eefc76b6a52926a630184af4241ef73a8118..8f307bf6026d918736bca90d877e8f85244f0be3 100644 (file)
@@ -43,12 +43,6 @@ RUN strip ./target/$CARGO_BUILD_TARGET/$RUSTRELEASEDIR/lemmy_server
 
 RUN cp ./target/$CARGO_BUILD_TARGET/$RUSTRELEASEDIR/lemmy_server /app/lemmy_server
 
-# Build the docs
-FROM $RUST_BUILDER_IMAGE as docs
-WORKDIR /app
-COPY --chown=rust:rust docs ./docs
-RUN mdbook build docs/
-
 # The alpine runner
 FROM alpine:3.12 as lemmy
 
@@ -64,7 +58,6 @@ RUN adduser -D -s /bin/sh -u 1000 -G lemmy lemmy
 # Copy resources
 COPY --chown=lemmy:lemmy config/defaults.hjson /config/defaults.hjson
 COPY --chown=lemmy:lemmy --from=builder /app/lemmy_server /app/lemmy
-COPY --chown=lemmy:lemmy --from=docs /app/docs/book/ /app/documentation/
 
 RUN chown lemmy:lemmy /app/lemmy
 USER lemmy