# Use a minimal base image
FROM debian:bullseye-slim
# Install minimal dependencies
RUN apt-get update && apt-get install -y \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Copy the pre-built binary from the artifacts directory
COPY artifacts/httprunner /usr/local/bin/httprunner
# Make it executable
RUN chmod +x /usr/local/bin/httprunner
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/httprunner"]
# Default command (can be overridden)
CMD ["--help"]