# Dockerfile.dev - For development only!
FROM rust:1.89-bullseye
# Install auto-reload tool
RUN cargo install watchexec-cli
RUN cargo install pkgx
WORKDIR /app
# Create config directory (same as your production image)
RUN mkdir -p /root/.config/pkg/.bridges/bridge
# Default command: auto-rebuild and run on code changes
CMD ["pkgx", "+nushell.sh", "nu@0.107.0"]