-FROM debian:buster-slim AS builder
-RUN apt-get update && apt-get install -y cmake gcc g++ git libreadline-dev make
-WORKDIR /app
-ENTRYPOINT git clone --recursive --depth 1 https://codeberg.org/armaan/gen-shell.git /app
-CMD cmake --configure . && cmake --build .
-
-FROM debian:buster-slim AS run
-RUN apt-get update && apt-get install -y cpp libreadline7 libncurses6
-WORKDIR /app
-COPY --from=builder /app/src/gen-shell .
-ENTRYPOINT ./gen-shell -c $command -b $before_command -a $after_command -p $custom_prompt