Skip to content

web search done right

removed outdated dockerfile

Mikkel Denker8c855ccc744f
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 84cf65d2..00000000
--- a/Dockerfile
+++ /dev/null
@@ -1,40 +0,0 @@
-FROM rust:bullseye AS builder
-
-WORKDIR /stract
-
-RUN echo "Adding Node.js PPA" \
- && curl -s https://deb.nodesource.com/setup_18.x | bash
-
-RUN apt-get update -y \
- && apt-get -y install ca-certificates \
- clang \
- libssl-dev \
- nodejs
-
-RUN rustup component add rustfmt
-
-COPY . .
-
-RUN cd frontend && npm install && npm run build
-
-RUN cargo build --release \
- && mkdir /stract/bin \
- && find target/release -maxdepth 1 -perm /a+x -type f -exec mv {} /stract/bin \;
-
-FROM debian:bullseye-slim AS stract
-
-LABEL org.opencontainers.image.title="Stract"
-LABEL maintainer="Stract <[email protected]>"
-LABEL org.opencontainers.image.licenses="AGPL-3.0"
-
-RUN apt-get -y update \
- && apt-get -y install ca-certificates \
- libssl1.1 \
- && rm -rf /var/lib/apt/lists/*
-
-WORKDIR /stract
-
-COPY --from=builder /stract/bin/stract /usr/local/bin/stract
-COPY --from=builder /stract/frontend/dist frontend/dist
-
-ENTRYPOINT ["/usr/local/bin/stract"]